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

Re: can't compile my QT3 programs



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



Reply to: