Project options question

Phil phillor at telstra.com
Fri Feb 2 05:48:36 GMT 2007


----- Original Message ----- 
From: "Andreas Pakulat" <apaku at gmx.de>
To: <kdevelop at barney.cs.uni-potsdam.de>
Sent: Thursday, February 01, 2007 6:48 PM
Subject: Re: Project options question


Thanks Alvin and Andreas for your replies.

>> #include "/usr/lib/qt3/include/qapplication.h"
>> #include "/usr/lib/qt3/include/qlabel.h"
>
> This is wrong, use #include "qapplication.h" and tell the buildsystem
> where your qt3 headers are installed.

If I set the path like this <qapplication.h>, then I get the following error 
and I have set the Qt root path to /usr/lib/qt3/include under Project 
Options.

/home/phil/consoletest/src/consoletest.cpp:32:26: error: qapplication.h: No
such file or directory

I'm using Kdevelop 3.3. I tried to download version 3.4 but the server timed
out before the download was completed.

>
> This looks pretty weird, please provide the full compilation output.
>

Could this error be specific to Mandriva 2007?

cd '/home/phil/consoletest/debug' && WANT_AUTOCONF_2_5="1"
WANT_AUTOMAKE_1_6="1" gmake

gmake all-recursive

Making all in src

if g++ -DHAVE_CONFIG_H -I. -I/home/phil/consoletest/src -I.. -O0 -g3 -MT
consoletest.o -MD -MP -MF ".deps/consoletest.Tpo" -c -o consoletest.o
`test -f '/home/phil/consoletest/src/consoletest.cpp' || echo
'/home/phil/consoletest/src/'`/home/phil/consoletest/src/consoletest.cpp;
then mv -f ".deps/consoletest.Tpo" ".deps/consoletest.Po"; else rm -f
".deps/consoletest.Tpo"; exit 1; fi

In file included from /usr/lib/qt3/include/qconfig.h:2,

from /usr/lib/qt3/include/qglobal.h:775,

from /usr/lib/qt3/include/qobjectdefs.h:42,

from /usr/lib/qt3/include/qwindowdefs.h:43,

from /usr/lib/qt3/include/qwidget.h:42,

from /usr/lib/qt3/include/qdesktopwidget.h:40,

from /usr/lib/qt3/include/qapplication.h:42,

from /home/phil/consoletest/src/consoletest.cpp:32:

/usr/include/multiarch-dispatch.h:23:56: error:
multiarch-i386-linux/qconfig.h: No such file or directory

gmake[2]: *** [consoletest.o] Error 1

gmake[1]: *** [all-recursive] Error 1

gmake: *** [all] Error 2

*** Exited with status: 2 ***

Regards,
Phil.





More information about the KDevelop mailing list