Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.7
-
None
Description
Windeployqt does not deploy Qt Quick Modules, and application fails to start after running windeployqt
To reproduce:
- Build mediaplayerapp from examples/demos/mediaplayer
- From a command line with Qt 6.7 binaries in path run{{ windeployqt mediaplayerapp.exe}}
- Run application from command line from the directory
Expected results:
- MediaPlayerApp starts
Actual results:
- MediaPlayerApp fails to start with errors in console:
QQmlApplicationEngine failed to load component qrc:/qt/qml/MediaPlayer/Main.qml:8:1: module "QtQuick.Effects" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:7:1: module "QtMultimedia" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:6:1: module "QtQuick.Controls.Fusion" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:5:1: module "QtQuick.Window" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:8:1: module "QtQuick.Effects" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:7:1: module "QtMultimedia" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:6:1: module "QtQuick.Controls.Fusion" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:5:1: module "QtQuick.Window" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:8:1: module "QtQuick.Effects" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:7:1: module "QtMultimedia" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:6:1: module "QtQuick.Controls.Fusion" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:5:1: module "QtQuick.Window" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:8:1: module "QtQuick.Effects" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:7:1: module "QtMultimedia" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:6:1: module "QtQuick.Controls.Fusion" is not installed qrc:/qt/qml/MediaPlayer/Main.qml:5:1: module "QtQuick.Window" is not installed
Note that windeployqt creates a qml/QtQuick directory, but the contained directory are empty.