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

Quick applications deployed with windeployqt do not start due to missing Qt6QmlWorkerScript

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.0
    • 6.7.0 RC
    • None
    • Windows
    • cfcfe7d07b03c0154c01c0c172d8fcc120080edc in 6.7.0, e831b220d95c2b8f71ccf90101fb279628f46d2f in 6.7, c6fff128d7ca3f8296c805aca7212f7bea48f5a9 in dev

    Description

      If you create a new Qt Quick application, build and deploy it using windeployqt and try running it from a clean environment afterwards it will not start in 6.7.0 RC. The error message in dbgview is:

      [9556] QQmlApplicationEngine failed to load component
      [9556] qrc:/untitled2/Main.qml:1:1: module "QtQuick" version 6.7 cannot be imported because:
      [9556] module "QtQml" version 6.7 cannot be imported because:
      [9556] Cannot load library C:\Users\olwolff\Documents\build-untitled2-Desktop_Qt_6_7_0_MSVC2019_64bit-Release\unt\qml\QtQml\WorkerScript\workerscriptplugin.dll: The specified module could not be found.
      

      In 6.6.1 Qt6QmlWorkerScript was part of the project's dependencies:

      Direct dependencies: Qt6Core Qt6Gui Qt6Network Qt6Qml
      All dependencies   : Qt6Core Qt6Gui Qt6Network Qt6OpenGL Qt6Qml Qt6QmlModels Qt6QmlWorkerScript Qt6Quick
      To be deployed     : Qt6Core Qt6Gui Qt6Network Qt6OpenGL Qt6Qml Qt6QmlModels Qt6QmlWorkerScript Qt6Quick Qt6Svg
      

      In 6.7.0 it is not

      Direct dependencies: Qt6Core Qt6Gui Qt6Network Qt6Qml
      To be deployed     : Qt6Core Qt6Gui Qt6Network Qt6OpenGL Qt6Qml Qt6QmlModels Qt6Quick Qt6Svg
      

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            owolff Oliver Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes