'QT: qmake not recognising 3dcore, 3drender
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.
Solution 1:[1]
3dcore introduced in Qt 5.7, ubuntu 17 had only 5.6 by default. If you have such problems, you need to update library.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | dE fENDER |