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

Windeployqt does not take into account all dependencies and exits with failure due to missing platform plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.5, 6.6, 6.7
    • None
    • Windows
    • 5010eda53 (dev), fdcebd63c (6.7)

    Description

      While deploying plugins windeployqt sets additional Qt modules to deploy, but plugins associated with these modules are not taken into account.

      For example when application is using Qt6Qml module, windeployqt will additionaly set
      Qt6Gui Qt6OpenGL Qt6QmlModels Qt6Quick due to `qmldbg_inspectord.dll` plugin dependencies. However Qt6Gui requires platform plugin, yet no second pass is performed, so windeployqt finishes with error code 1 and error message `Unable to find the platform plugin`.

      Attaching MRE to play with.

      Attachments

        For Gerrit Dashboard: QTBUG-121583
        # Subject Branch Project Status CR V

        Activity

          People

            timothee.keller Timothée Keller
            qdoc Michal Policht
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes