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

Wrong Qt library link from Qt Creator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 1.3.4
    • Fix Version/s: None
    • Component/s: Qt Creator Integration
    • Labels:
      None
    • Environment:
      Windows 7 x64
      qbs 1.3.4
      Qt 5.4.1
      MinGW 4.9.1 32bit
      Qt Creator 3.3.2

      Description

      When building a QtGuiApplication in debug from QtCreator, the binary file is linked against Qt5Core.dll instead of Qt5Cored.dll (same goes for all Qt libraries).

      However when using qbs from the command line Qt5Cored.dll is linked.

      As Qt Creator uses its own qbs profiles I compared them to the default qbs profiles and I've found that libFilePathDebug is empty.

      AppData\Roaming\QtProject\qtcreator\qbs\profiles\qtc_Desktop_Qt_5_4_1_MinGW_32bit\modules\Qt\core\core.qbs
      property string libFilePathDebug: ""
      
      AppData\Roaming\QtProject\qbs\profiles\qt-5-4-1\modules\Qt\core\core.qbs
      property string libFilePathDebug: "C:/Qt/5.4/mingw491_32/lib/libQt5Cored.a"
      

      I tried to replace QtCreator's qbs profile, but it is restored whenever QtCreator is launched.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes