如题,我用的是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吗?