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

Release target contains debug info that confusing windeployqt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 1.11.1
    • Qt Creator Integration
    • None
    • * 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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes