Impicit import 'QtQml' of QML module 'QtQuick' not found
-
I have started with QT6, using ubuntu 23.10 and face this problem
I have already installed qt6-base-dev, qt6-declarative-dev and qtcreator via apt install command.
I followed the official book about qt6 and created Qt Quick UI Project. And I changed nothing in created project, but qt shoved an error. Also qt showed a clue:
Content of folder is:

What is wrong? -
I've got the same Problem with Windows 10. I do a full new installation, and want to compile my test project with visual studio 2022. This works, but i can't edit the qml files with QTCreator or QT Studio. I ran into the same error.

I check the system environments, all path entries are valid. I add:
C:\Qt\Tools\QtCreator\bin
C:\Qt\6.7.0\msvc2019_64\bin
C:\Qt\Tools\QtCreator\bin\qmlBut nothing helps. I think some search path is missing, but i don't know which one.
Anyone any solutions?
-
I have started with QT6, using ubuntu 23.10 and face this problem
I have already installed qt6-base-dev, qt6-declarative-dev and qtcreator via apt install command.
I followed the official book about qt6 and created Qt Quick UI Project. And I changed nothing in created project, but qt shoved an error. Also qt showed a clue:
Content of folder is:

What is wrong? -
@sable I was having a similar issue on Ubuntu as well. I needed to install
qml6-module-qtqmland that fixed the warning. Which is odd because the base project compiled just fine before then.@fixgoats said in Impicit import 'QtQml' of QML module 'QtQuick' not found:
@sable I was having a similar issue on Ubuntu as well. I needed to install
qml6-module-qtqmland that fixed the warning. Which is odd because the base project compiled just fine before then.Install this package solved it for me (Qt 6.4.2 in Ubuntu 24.04). Thank you!