[Qt-creator] how to use qt demos?
Huabin Zheng
huabin.zheng at gmail.com
Mon Mar 30 05:08:47 CEST 2009
OK, I have fixed the problem by removing all the VC related item in the
makefile and building the "shared" project first.
thank you all the same.
On Mon, Mar 30, 2009 at 10:50 AM, Huabin Zheng <huabin.zheng at gmail.com>wrote:
>
> Hi all,
> I am new to QT, so I plan to begin with the QT demos installed with the
>
> QT creator. I open the project "affine", which is located
> in Qt\2009.01\qt\demos\, then build the project with default project
> settings. The compiler gives me a long list of errors, as attached below.
> It seems that the problem is related to the visual studio header files. But
> I am not sure where the problem really comes from.
> the version of qt creator is v2009.01 with qt4.5 installed. the os is
> windows xp. Visual Studio 2005 is also installed in this machine.
>
> Anybody give me some suggestions?
> Thanks very much.
>
> Running build steps for project affine...
>
> Creating gdb macros library...
>
> Configuration unchanged, skipping QMake step.
>
> Starting: C:/Qt/2009.01/mingw/bin/mingw32-make.exe debug -w
>
> mingw32-make: Entering directory `C:/Qt/2009.01/qt/demos/affine'
>
> C:/Qt/2009.01/mingw/bin/mingw32-make -f Makefile.Debug
>
> mingw32-make[1]: Entering directory `C:/Qt/2009.01/qt/demos/affine'
>
> g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
> -DQT_LARGEFILE_SUPPORT -DQT_OPENGL_SUPPORT -DQT_DLL -DQT_OPENGL_LIB
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
> -I"..\..\include\QtCore" -I"..\..\include\QtGui" -I"..\..\include\QtOpenGL"
> -I"..\..\include" -I"..\shared" -I"..\..\include\ActiveQt"
> -I"tmp\moc\debug_shared" -I"." -I"c:\Program Files\Microsoft Visual
> Studio\VC98\atl\include" -I"c:\Program Files\Microsoft Visual
> Studio\VC98\mfc\include" -I"c:\Program Files\Microsoft Visual
> Studio\VC98\include" -I"..\..\mkspecs\win32-g++" -o
> tmp\obj\debug_shared\main.o main.cpp
>
> In file included from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:45,
> --
> Huabin Zheng
> Sensor Networks and Application Research Center, CAS
>
--
Huabin Zheng
Sensor Networks and Application Research Center, CAS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090330/1d564935/attachment.html
More information about the Qt-creator-old
mailing list