[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: Problem with compiling simple application
From:       Tarjei Knapstad <tarjei.knapstad () predichem ! com>
Date:       2004-04-30 13:50:20
Message-ID: 1083333020.1487.29.camel () tarjei
[Download RAW message or body]

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@kdevelop.org with the following body:
unsubscribe »your-email-address«

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic