Problem with compiling simple application

Tarjei Knapstad tarjei.knapstad at predichem.com
Fri Apr 30 14:50:20 BST 2004


On Fri, 2004-04-09 at 17:58, Stefano Rosanelli wrote:
> Alle 14:02, giovedì 8 aprile 2004, hai scritto:
> > I'm using Mandrake Linux 10.0, Kernel 2.6.3.
> > qstring.h is in /usr/lib/qt3/include
> 
> It seems you are using AutomakeManager to write a Qt application.
> You should consider QMake Manager project.
> However if you want a Qt application with autotools you have to:
> * set QTDIR environment like Loke suggests
> * add -I$(QTDIR)/include in subproject options (using AutomakeManager)
> * add -L$(QTDIR)/lib and -lqt-mt in target options
> 

Uhm, well, I'm developing an in-house app using Qt and link to a
different build of the Qt lib than the one that comes with RedHat (we've
got a commercial license). Changing QTDIR to something else just makes a
mess (if I rebuild some KDE app or whatever it will link with the wrong
Qt lib). 

Passing --with-qt-dir=/usr/local/lib/qt to configure allways worked for
me.

How is g++ invoked? (i.e. what -I directives and so on are given)

Cheers,
--
Tarjei


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list