Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.2.0
-
None
-
Win7/64, mvs10, Qt 5.3.1
-
023e17009eea422ec2da8e3dfba447f3e7b5b75e
Description
Linking with the MSVC linker is not possible anymore for Qbs projects. The problem is that "cl.exe" is called for linking now, instead of "link.exe". However, "/link" is not specified to pass linker specific options.
To reproduce, load the "Hello Qbs" example and try to build it. Linking fails and many warnings are emitted, indicating the confusion cl.exe has with linker specific options.
cl : Command line warning D9002 : ignoring unknown option '/OS'
cl : Command line warning D9002 : ignoring unknown option '/OV'
cl : Command line warning D9002 : ignoring unknown option '/OE'
cl : Command line warning D9002 : ignoring unknown option '/OR'
cl : Command line warning D9002 : ignoring unknown option '/OS'
cl : Command line warning D9002 : ignoring unknown option '/OI'
cl : Command line warning D9002 : ignoring unknown option '/OO'
cl : Command line warning D9002 : ignoring unknown option '/ON'
cl : Command line warning D9002 : ignoring unknown option '/O:'
cl : Command line warning D9002 : ignoring unknown option '/O5'
cl : Command line warning D9002 : ignoring unknown option '/O.'
cl : Command line warning D9002 : ignoring unknown option '/O0'
cl : Command line warning D9002 : ignoring unknown option '/O0'
This is probably a side effect of the changes done for QTCREATORBUG-12808.
Attachments
For Gerrit Dashboard: QTCREATORBUG-12824 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
92027,3 | QbsProjectManager: Fix linker name for MSVC. | 3.2 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |