Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 6.2.1, 6.3
-
Fix Version/s: 6.5
-
Component/s: Build System: CMake, QML: Tooling
-
Labels:
Description
The QML import path provided by Qt is only populated once you install the build of qtdeclarative. However, when building the examples, we already try to load modules from that path.
For example, I'm configuring qtdeclarative in a directory /home/ulf/dev/qt6dev-examples/qtdeclarative with:
/home/ulf/work/install/bin/qt-cmake-private /home/ulf/dev/qt6dev-src/qtdeclarative
/home/ulf/work/install is the place where I've installed qtbase and qtshadertools before. This makes qmlcachegen, qmllint, etc look in /home/ulf/work/install/qml for QML modules provided by Qt. This directory is only created once I install qtdeclarative, though. Before, the QML modules belonging to qtdeclarative can be found in /home/ulf/dev/qt6dev-examples/qtdeclarative/qml .