问题
I am using qmake
to compile my QT
project. In my .pro
file I have a line:
QT += 3dcore 3drender 3dinput 3dextras
When executing qmake myprofile.pro
I get the error:
Project ERROR: Unknown module(s) in QT: 3dcore 3drender 3dinput 3dextras
I am using Ubuntu17
and have QT5
installed. How can I get it to work with qmake
? I am including libraries like <Qt3DCore>
in my code so I require these modules as suggested here.
来源:https://stackoverflow.com/questions/49252186/qt-qmake-not-recognising-3dcore-3drender