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

Wrong Qt library link from Qt Creator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.3.4
    • Qt Creator Integration
    • None
    • Windows 7 x64
      qbs 1.3.4
      Qt 5.4.1
      MinGW 4.9.1 32bit
      Qt Creator 3.3.2

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes