首页| 论坛| 消息

标题:求助:运行mingw32-make后报错
作者:mxliony
日期:2011-03-10 10:02
内容:

..\..\include/QtGui/../../src/gui/widgets/qframe.h:51: error: 'QtValidLicenseFor
GuiModule' does not name a type
In file included from ..\..\include\QtGui/qlabel.h:1,
from ..\..\include\QtGui/QLabel:1,
from hello.cpp:2:
..\..\include\QtGui/../../src/gui/widgets/qlabel.h:51: error: 'QtValidLicenseFor
GuiModule' does not name a type
mingw32-make[1]: *** Error 1
mingw32-make[1]: Leaving directory `C:/Qt/2010.05/qt/test/hello'
mingw32-make: *** Error 2


如何解决?


#1 [jdwx 03-10 10:56]
运行QTCreator ,生成一个gui工程(不要放到C:/Qt/2010.05/qt这个目录),再编译,试试

回复 发表
主题 版块