Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12824

[REG] Linking not possible anymore with Qbs and MSVC toolchain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.2.0
    • 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

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

        Activity

          People

            kandeler Christian Kandeler
            thomas.epting Thomas Epting
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes