Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
1.3.4
-
None
-
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.