Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.1, 5.11.2
-
None
-
MacOS: 10.13.6. Additional info provided in picture.
Description
With simplest project possible (in wizard Qt Quick Application - Empty) in main.qml add line "import QtQuick.Shapes 1.0" and try to run application through build-debug sequence (F5). App starts normal.
After that close your application and apply macdeployqt on it:
macdeployqt /path/to/app/myapp.app -qmldir=/path/to/qt/5.11.1/clang_64/qml
Then take a look at what is inside of the bundle: there is no Shapes (Contents/Resources/qml/QtQuick/Shapes) folder, however other resources provided well. If You will overcome other dependencies such as cocoa plugin requirement, You will see a message at runtime in debug: "module "QtQuick.Shapes" is not installed".
If You will do absolutely the same in Windows using windeployqt - it will deliver Shapes folder to executable.
Short version: macdeployqt doesn't copy qml Shapes component/plugin into bundle, windeployqt does.