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

Windeployqt fails with "Unable to find the platform plugin" when using --release switch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.15.0
    • None
    • Microsoft Windows [Version 10.0.18363.836]
    • Windows

    Description

      See also: https://bugreports.qt.io/browse/QTBUG-80806

      Steps to replicate:

      Qt 5.15.0 installed with only MinGW 8.1.0 x64 via the online installer.

      Create a new project via Qt Creator: Application (Qt) > Qt Widgets Application

      Accept all defaults for the project (Desktop Qt 5.15.0 MinGW 64-bit kit)

      Change build version to Release and Run

      Open the Qt 5.15.0 command prompt from the Start menu

      Note: Another bug - MinGW version is actually 8.1.0 but all the shortcuts and window title incorrectly state MinGW 7.3.0. (version verified below).

      C:\Test>windeployqt --release "C:\Test"
      C:\Test\untitled.exe 64 bit, release executable
      Direct dependencies: Qt5Core Qt5Widgets
      All dependencies : Qt5Core Qt5Gui Qt5Widgets
      To be deployed : Qt5Core Qt5Gui Qt5Widgets
      Unable to find the platform plugin.
      

       
      MinGW version:

      C:\Test>gcc --version
      gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
      

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              jeb John
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes