[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't compile my QT3 programs



Not sure how helpful this will be, as I installed qt-3 from source, but
when you install something called libqt3-dev, I would certainly expect
it to contain some libs!

On my box I have libqt1g-dev which was installed from the deb package,
and it placed all the relevant files in a directory named
/usr/lib/qt1g, in which it made the following subdirectories:
bin, include, lib, & man
I also have qt1.44 which is in a similar arrangement, but without the
man subdirectory..
/usr/lib/qt1.44O-dev/bin
/usr/lib/qt1.44O-dev/include
/usr/lib/qt1.44O-dev/lib

hope this helps

-Craig
P.S. Some people don't like replies that are at the top.

On Wed May 01, 2002 at 11:45:35PM +0200, Antoine Schweitzer-Chaput wrote:
> 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
> 

-- 
-CraigW



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: