Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1343

Release target contains debug info that confusing windeployqt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 1.11.1
    • Fix Version/s: None
    • Component/s: Qt Creator Integration
    • Labels:
      None
    • Environment:
      * Windows 10 64 bit
       * Qt 5.9.3 MinGW 5.3 (official)
       * QtCreator 4.6.1 (QBS 1.11.1) (official)

      Description

      If try to compile any Qt application (e.g. the helloworld-qt example) in release mode from the QtC with the MinGW compiler, then the windeployqt.exe confusing and deploys the 'debug' runtime instead of 'release' runtime for this application binary. Seems, that the resulting target application binary contains some debug info by default.

      But, If to add, e.g. the:

      cpp.linkerFlags: ["-s"]
      

      then windeployqt deploy the 'release' runtime.

      PS: This issue does not reproduces with the qmake and release target from the QtC.

      PS2: Please see a related bug -QTBUG-68157-

        Attachments

        1. helloworld-qt.zip
          3 kB
          Denis Shienkov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes