Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error: module "Qt3D" is not installed
MiguelCosta94 last edited by MiguelCosta94
I'm trying to import a 3D model in .obj format to my Qt Quick project. For this, I follow the tutorial in this link https://www.kdab.com/overview-qt3d-2-0-part-2/ However, when I compile I get this error: "module "Qt3D" is not installed". I'm using Qt in a Virtual Machine with Ubuntu 14.04 LTS.
There's a way to fix this? Thanks
mostefa last edited by mostefa
Hello @MiguelCosta94 ,
Which version of qt do you have ? , i think that in many versions Qt 3D is an extern module , you need to check it when install Qt SDK first time
this link could help you:
Hello @mostefa ,
Thanks for the reply. I'm using Qt 5.7 and, in order to use Qt3D I select the option Qt3D from Qt5.5 in the Maintenance Tool.
Hi and welcome to devnet,
Something's not clear from what you wrote. You are using a Qt 5.5 maintenance tool and a Qt 5.7 for development. Is it a typo ?
In any case did you add
QT += 3dcore 3drender 3dinput 3dquick qml quick 3dquickextrasto your .pro file ?
Hi @SGaist ,
Thanks for the reply. I'm using Qt 5.7 but the Qt3D version i'm using is 5.5, as you can see in this printscreen http://prntscr.com/dz020m . I added what you suggested to my .pro file but the error remains.
You are trying some strange mix and match stuff.
Qt3D is part of Qt 5.7 as technical preview so I'd recommend cleaning up your environment and rebuild your application from scratch with Qt 5.7.
@SGaist I have done it, but I still get the error
It's getting strange. Are you sure you are using the right kit when building your application ?