Hello All!
I trying to build my first QT application, but the following errors occured:
make -f Makefile.Release
make[1]: Entering directory `/home/FirstApp'
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"D:/Qt/4.1.0/include/QtCore" -I"D:/Qt/4.1.0/include/QtGui" -I"D:/Qt/4.1.0/include" -I"." -I"D:/Qt/4.1.0/include/ActiveQt" -I"release" -I"." -I"D:/Qt/4.1.0/mkspecs/win32-g++" -o release\main.o main.cpp
D:\Qt\4.1.0\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"D:/Qt/4.1.0/include/QtCore" -I"D:/Qt/4.1.0/include/QtGui" -I"D:/Qt/4.1.0/include" -I"." -I"D:/Qt/4.1.0/include/ActiveQt" -I"release" -I"." -I"D:/Qt/4.1.0/mkspecs/win32-g++" -D__GNUC__ -DWIN32 FirstAppMainWindow.h -o release\moc_FirstAppMainWindow.cpp
/bin/sh.exe: D:Qt4.1.0binmoc.exe: command not found
make[1]: *** [release\moc_FirstAppMainWindow.cpp] Error 127
make[1]: Leaving directory `/home/FirstApp'
make: *** [release] Error 2
I use sequence of commands:
qmake -project -win32 && qmake && make
My build system is:
* Current MinGW with gcc-3.4.2
* Current qt-4.1.0 (for minGW)
How can I solve this problem?
Bookmarks