• 4084阅读
  • 1回复

[提问]谁知道怎么编译qt3d [复制链接]

上一主题 下一主题
离线myleader
 

只看楼主 倒序阅读 楼主  发表于: 2014-07-12
如题,我用的是msys2套装里面的Qt-5.3.1

编译qt3d的时候总是提示

In file included from ..\..\..\qt3d\src\threed\global\qglnamespace.h:45:0,
                 from ..\..\..\qt3d\src\threed\global\qglnamespace.cpp:42:
..\..\..\qt3d\src\threed\global\qt3dglobal.h:48:19: error: expected constructor, destructor, or type conversion before '(' token
QT_LICENSED_MODULE(Qt3d)
                   ^
In file included from ..\..\..\qt3d\src\threed\global\qglnamespace.cpp:42:0:
..\..\..\qt3d\src\threed\global\qglnamespace.h:156:19: error: 'QSize' does not name a type
     Q_QT3D_EXPORT QSize nextPowerOfTwo(const QSize& value);
                   ^
..\..\..\qt3d\src\threed\global\qglnamespace.cpp:284:45: error: 'QSize QGL::nextPowerOfTwo(const QSize&)' should have been declared inside 'QGL'
QSize QGL::nextPowerOfTwo(const QSize& value)
                                             ^


我也不知道怎么回事,有谁知道怎么编译qt3d吗?
离线chenzilin

只看该作者 1楼 发表于: 2014-07-14
快速回复
限100 字节
 
上一个 下一个