• 6143阅读
  • 1回复

[提问]求助:运行mingw32-make后报错 [复制链接]

上一主题 下一主题
离线mxliony
 
只看楼主 倒序阅读 楼主  发表于: 2011-03-10
                ..\..\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]: *** [tmp/obj/debug_shared/hello.o] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/2010.05/qt/test/hello'
mingw32-make: *** [debug-all] Error 2


如何解决?

离线jdwx

只看该作者 1楼 发表于: 2011-03-10
运行QTCreator ,生成一个gui工程(不要放到C:/Qt/2010.05/qt这个目录),再编译,试试
发帖时要说明:操作系统、Qt版本、编译器,这样能更快的得到回复。
快速回复
限100 字节
 
上一个 下一个