• 5362阅读
  • 0回复

make操作报错 [复制链接]

上一主题 下一主题
离线wanze
 
只看楼主 倒序阅读 楼主  发表于: 2010-10-28
Setting up a MinGW/Qt only environment...
-- QTDIR set to C:\Qt\2010.05\qt
-- PATH set to C:\Qt\2010.05\qt\bin
-- Adding C:\Qt\2010.05\bin to PATH
-- Adding C:\WINDOWS\System32 to PATH
-- QMAKESPEC set to win32-g++
C:\Qt\2010.05\qt>e:
E:\>cd E:\Source_Code\Qt\Spreadsheet
E:\Source_Code\Qt\Spreadsheet>qmake
E:\Source_Code\Qt\Spreadsheet>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `E:/Source_Code/Qt/Spreadsheet'
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"c:\Qt
\2010.05\qt\include\QtCore" -I"c:\Qt\2010.05\qt\include\QtGui" -I"c:\Qt\2010.05\
qt\include" -I"c:\Qt\2010.05\qt\include\ActiveQt" -I"debug" -I"c:\Qt\2010.05\qt\
mkspecs\win32-g++" -o debug\mainwindow.o mainwindow.cpp
In file included from c:\Qt\2010.05\qt\include\QtGui/qdialog.h:1,
                 from c:\Qt\2010.05\qt\include\QtGui/QDialog:1,
                 from finddialog.h:4,
                 from mainwindow.cpp:3:
c:\Qt\2010.05\qt\include\QtGui/../../src/gui/dialogs/qdialog.h:51: error: expect
ed initializer before 'QtGuiModule'
mingw32-make[1]: *** [debug/mainwindow.o] Error 1
mingw32-make[1]: Leaving directory `E:/Source_Code/Qt/Spreadsheet'
mingw32-make: *** [debug] Error 2
E:\Source_Code\Qt\Spreadsheet>
快速回复
限100 字节
 
上一个 下一个