Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.2.1, 6.3
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 .
Attachments
Issue Links
- depends on
-
QTBUG-96232 Figure out how to build examples as ExternalProjects in a prefix build setup so it can be used in the CI
- In Progress