[Qt-interest] (netbeans 6.7RC3) support of Qt : what is needed?
lolveley
lolveley at yahoo.fr
Thu Jun 18 00:50:19 CEST 2009
Philip Lee a écrit :
> You need to put the directory where QApplication is (somewhere in
> /usr/include/...) in the project's include path. Then, it parses normally.
>
> On Wed, Jun 17, 2009 at 5:17 PM, lolveley <lolveley at yahoo.fr
> <mailto:lolveley at yahoo.fr>> wrote:
>
> hello,
>
> I have a question about netbeans. I want to use netbeans with Qt
> (netbeans 6.7RC3) but at the line "#include <QtGui/QApplication>"
> I have
> an error.
> The version of Qt I use is 4.5.1 but I have compiled it with nmake
> (from
> visual studio).
> what must I do in order to have Qt supported in netbeans.
> I presume I have to compile Qt with g++ (from cygwin or mingw),
> but are
> there some adjustments to do in netbeans?
>
> olivier.
>
>
>
>
>
>
> ___________________________________________________________________________
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail
> et son interface révolutionnaire.
> http://fr.mail.yahoo.com
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
>
> --
> Philip G. Lee
> rocketman768 at gmail.com <mailto:rocketman768 at gmail.com>
> aim: coolpdiddy
hello,
thanks for your quick answer.
I added the correct paths in the include section of the project, but I
have now this error :
/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory
`/cygdrive/c/Users/lolveley/Documents/NetBeansProjects/QtApplication_1'
qmake VPATH=. -o qttmp-Debug.mk nbproject/qt-Debug.pro
make[1]: qmake: Command not found
make[1]: *** [nbproject/qt-Debug.mk] Error 127
make[1]: Leaving directory
`/cygdrive/c/Users/lolveley/Documents/NetBeansProjects/QtApplication_1'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 835ms)
is there here that I have to compile Qt with g++?
or maybe I have to tell to netbeans where to search qmake (but I have
searched in the projects' options, I did not find such a section)?
olivier.
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
More information about the Qt-interest-old
mailing list