Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.5.0
-
None
-
Mac OS X 10.10
Description
Deployed multimedia apps have a missing dependency on QtMultimediaQuick_p.framework. Steps to reproduce:
1. Create a new Qt Quick application for clang_64 target and change the main.qml file to something like:
main.qml
import QtQuick 2.4 import QtQuick.Window 2.2 import QtMultimedia 5.0 Window { visible: true Video { } }
2. Add QT += multimedia to the pro file
3. Run the macdeployqt tool on the created app bundle with the -qmldir option
Result: The resulting app bundle crashed on startup because of missing QtMultimediaQuick_p framework:
qrc:/main.qml:3 plugin cannot be loaded for module "QtMultimedia": Cannot load library [...]/build-DeployTest-Desktop_Qt_5_5_0_clang_64bit-Debug/DeployTest.app/Contents/PlugIns/quick/libdeclarative_multimedia.dylib: (dlopen([...]/build-DeployTest-Desktop_Qt_5_5_0_clang_64bit-Debug/DeployTest.app/Contents/PlugIns/quick/libdeclarative_multimedia.dylib, 5): Library not loaded: @rpath/QtMultimediaQuick_p.framework/Versions/5/QtMultimediaQuick_p Referenced from: [...]/build-DeployTest-Desktop_Qt_5_5_0_clang_64bit-Debug/DeployTest.app/Contents/PlugIns/quick/libdeclarative_multimedia.dylib Reason: image not found)
Related:
QTBUG-46981
Probably also related:
QTBUG-45977
QTBUG-46404
QTBUG-47221
Attachments
Issue Links
- is duplicated by
-
QTBUG-46981 macdeployqt doesn't deploy dependencies of quick plugins
- Closed
- relates to
-
QTBUG-46981 macdeployqt doesn't deploy dependencies of quick plugins
- Closed