[Qbs] cpp.runtimeLibrary:"static" under MSVC2013

Christian Kandeler christian.kandeler at qt.io
Wed Aug 22 16:17:17 CEST 2018


On Mon, 6 Aug 2018 15:16:10 +0200
Dorian Jicquel <dorian.jicquel at mana-sys.fr> wrote:

> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN/link.exe 
> /nologo /DEBUG /PDB:untitled2.pdb /MACHINE:X86 /APPCONTAINER:NO 
> /OSVERSION:5.01 "/SUBSYSTEM:CONSOLE,5.01" /MANIFEST:embed 
> C:\Users\djicquel\Documents\build-untitled2-Qt_5_4_1_Mana_32-Debug\qtc_Qt_5_4_1_Mana_32_Debug\untitled2.57dd9e61\3a52ce780950d4d9\main.cpp.obj 
> C:\Users\djicquel\Documents\build-untitled2-Qt_5_4_1_Mana_32-Debug\qtc_Qt_5_4_1_Mana_32_Debug\untitled2.57dd9e61\3a52ce780950d4d9\qrc_qml.cpp.obj 
> C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Cored.lib 
> C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Guid.lib 
> C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Networkd.lib 
> C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Qmld.lib 
> C:\Qt\qt-5.4.1-mana\msvc2013\lib\Qt5Quickd.lib Shell32.lib 
> C:\Qt\qt-5.4.1-mana\msvc2013\lib\qtmaind.lib 
> /OUT:C:\Users\djicquel\Documents\build-untitled2-Qt_5_4_1_Mana_32-Debug\qtc_Qt_5_4_1_Mana_32_Debug\untitled2.57dd9e61\untitled2.exe 
> /LIBPATH:C:\Qt\qt-5.4.1-mana\msvc2013\lib

I cannot reproduce the problem. My linker command line is exactly the same (I tried to emulate your setup as closely as possible):
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64_x86/link.exe /nologo /DEBUG /PDB:untitled-qml.pdb /MACHINE:X86 /APPCONTAINER:NO /OSVERSION:5.01 "/SUBSYSTEM:CONSOLE,5.01" /MANIFEST:embed C:\Users\ckandeler\dev\qtc_MSVC_2013_32_Debug\untitled-qml.653ebbcf\3a52ce780950d4d9\main.cpp.obj C:\Users\ckandeler\dev\qtc_MSVC_2013_32_Debug\untitled-qml.653ebbcf\3a52ce780950d4d9\qrc_qml.cpp.obj C:\Qt-updateable\5.4\msvc2013\lib\Qt5Cored.lib C:\Qt-updateable\5.4\msvc2013\lib\Qt5Guid.lib C:\Qt-updateable\5.4\msvc2013\lib\Qt5Networkd.lib C:\Qt-updateable\5.4\msvc2013\lib\Qt5Qmld.lib C:\Qt-updateable\5.4\msvc2013\lib\Qt5Quickd.lib Shell32.lib C:\Qt-updateable\5.4\msvc2013\lib\qtmaind.lib /OUT:C:\Users\ckandeler\dev\qtc_MSVC_2013_32_Debug\untitled-qml.653ebbcf\untitled-qml.exe /LIBPATH:C:\Qt-updateable\5.4\msvc2013\lib

Are you sure you can build the same project successfully in the same environment with the previous qbs version? If so, you might want to compare the command lines produced by the two versions (also compiler, not just linker).


Christian



More information about the Qbs mailing list