Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123781

windeployqt does not deploy Qt Quick Modules

    XMLWordPrintable

Details

    • Windows

    Description

      Windeployqt does not deploy Qt Quick Modules, and application fails to start after running windeployqt

      To reproduce:

      1. Build mediaplayerapp from examples/demos/mediaplayer
      2. From a command line with Qt 6.7 binaries in path run{{ windeployqt mediaplayerapp.exe}}
      3. 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            johanseg Jøger Hansegård
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes