:-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput
-
I m using Ubuntu 20. I installed Qt6 and I opened an example to run(simple-cpp). I m getting the error:
:-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput
Where does the QtCreator tries to find the modules? I have those modules in the installation folder, how to give the path to those modules?
-
@surajj4837 Are those modules installed? Also, keep in mind that Qt6 does not yet have all modules available in Qt5. It is safer for now to use Qt5.
-
I see these folders in installation directory.
-
@surajj4837 This looks like Qt source code...
-
In which directory does Qt searches for modules. Following folders exist for 3dcore module in installed directory of Qt.
-
@surajj4837 said in :-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput:
In which directory does Qt searches for modules
In its installation folder.
How exactly did you install Qt? -
Using Qt online installer.
-
Now I have installed Qt5.15 as well and the same example is running flawless using 5.15 kit.
-
@surajj4837 According to https://www.kdab.com/qt-3d-changes-in-qt-6/ Qt3D is not provided as binary starting with Qt6. You have to build it by yourself if you want to use it withQt6.
-
@surajj4837 Looks like that, yes