Hi,
I installed Qt to my Win XP machide (qt-win-opensource-4.4.2-mingw.exe). Mingw was installed by the Qt installer.
After installation I enter command prompt by selecting "Qt 4.4.2 command prompt" from the start menu. This sets path and other environment stuff correctly.
Next I go to folder C:\Qt\4.4.2\examples\tutorials\tutorial\t1 and type
qmake -project
qmake
make
make fails. I get the following:
Error is not displayed if I type "g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_C:\Qt\4.4.2\examples\tutorials\tutorial\t1>make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/4.4.2/examples/tutorials/tutorial/t1'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_
THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtG
ui" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include" -I"." -I"c:\Qt\4.4.2\include\ActiveQt" -I"tmp\moc\debug_shared
" -I"." -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
g++: main.cpp: No such file or directory
g++: no input files
mingw32-make[1]: *** [tmp/obj/debug_shared/main.o] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.4.2/examples/tutorials/tutorial/t1'
mingw32-make: *** [debug-all] Error 2
THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include" -I"." -I"c:\Qt\4.4.2\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp" directly to screen.
Any ideas?
Bookmarks