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

MinGW Qt 5.14.0: windeployqt does not work for debug builds of non-GUI applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.0
    • None
    • Windows

    Description

      When running windeployqt from MinGW Qt 5.14.0 installation over a debug build of a non-GUI application, the deployment fails because windeployqt tries to deploy the d-prefixed Qt libraries which don't exist anymore: 

      C:\devel\builds\build-qt514_test-Desktop_5_14_0_MinGW_64_bit-Debug\qt514_test.exe 64 bit, debug executable
      Direct dependencies: Qt5Core Qt5Network Qt5SerialBus
      All dependencies   : Qt5Core Qt5Network Qt5SerialPort Qt5SerialBus
      To be deployed     : Qt5Core Qt5Network Qt5SerialPort Qt5SerialBus
      C:\Qt\5.14.0\mingw73_64\bin\Qt5Cored.dll does not exist.

      Minimal project to reproduce is attached. I'm explicitly using Network and SerialBus in it to test whether the dependencies are detected correctly. 

      Steps to reproduce: Build the attached project in debug mode, run Qt 5.14 command line and run windeployqt over the debug executable.

      The bug is probably related to QTBUG-80806 but it applies to non-GUI applications.

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            dpurgin Dmitriy Purgin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes