Re: can't compile my QT3 programs
I actually tried it, but I could't find the 'lib' dir :
I installed libqt3-dev from the .deb, and in the docs, they say that
QTDIR should be set to /usr/share/qt, but there's no lib directory
there, and I didn't manage to find a revelant one
On Wed, 2002-05-01 at 23:39, craigw wrote:
> On Wed May 01, 2002 at 11:19:17PM +0200, Antoine Schweitzer-Chaput wrote:
> > Hi everybody
> >
> > I've just installed libqt3-dev in order to learn how to use it. To start
> > with it, I've followed the tutorials, but when I try to compile with
> > qmake -projet; qmake; make, the linker can't find libqt (which is
> > installed).
> > In fact, if I add a -lqt at the end of the commands that make executes,
> > everything works fine.
> > Is there something I should do so that it would work properly?
> >
> assuming that I install qt in /usr/local/qt-x11-free/3.0.3/
> then I would:
> add /usr/local/qt-x11-free/3.0.3/lib to /etc/ld.so.conf
> run ldconfig
>
> and then (assuming you're using bash):
> export QTDIR=/usr/local/qt-x11-free/3.0.3/
> export moc=/usr/local/qt-x11-free/3.0.3/bin/moc
>
> I'm going to venture a guess that you need the first one
>
> --
> -CraigW
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: