Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
-
757bfef22 (dev), bcb26ad44 (6.7)
Description
When building an example (in qtdeclarative) that depends on the `shared` module, the module is not deployed when using a non-Ninja generator, such as the Xcode generator, resulting in:
qrc:/qt/qml/windowembeddingexample/windowembedding.qml:5:1: module "shared" is not installed import shared as Examples
With Ninja I get:
[91/91] Linking CXX executable windowembedding.app/Contents/MacOS/windowembedding -- Running macOS bundle QML support POST_BUILD routine. -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/QtQuick/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/QtQuick/libqtquick2plugin.dylib -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/QtQml/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/QtQml/libqmlmetaplugin.dylib -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/QtQml/Base/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/QtQml/Base/libqmlplugin.dylib -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/QtQml/Models/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/QtQml/Models/libmodelsplugin.dylib -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/QtQml/WorkerScript/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/QtQml/WorkerScript/libworkerscriptplugin.dylib -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/shared/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/shared/libwindowembedding_shared.dylib -- Installing: /Users/torarne/build/qt/6.x/examples/windowembedding/./windowembedding.app/Contents/Resources/qml/QtQuick/Window/qmldir -- Symlinking: /Users/torarne/build/qt/6.x/examples/windowembedding/windowembedding.app/Contents/Resources/qml/QtQuick/Window/libquickwindowplugin.dylib
The Xcode generated project has a similar step at the end:
But doesn't seem to produce the same result.
Attachments
Issue Links
- relates to
-
QTBUG-112489 QML examples installation is bogus
- Reported
For Gerrit Dashboard: QTBUG-125153 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
560744,2 | CMake: Fix app QML post bundle deployment with the Xcode generator | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
561198,2 | CMake: Fix app QML post bundle deployment with the Xcode generator | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |