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

Linking fails when using Qbs for Qt4.8.x with QtCreator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • 1.3.1
    • None
    • OS: Windows 8.1
      Qt: 4.8.5/4.8.6 MSVC 2010 32bit
      Qbs: "standard", integrated with QtCreator 3.2.1
    • 3304c0706b6b32ac82bd38eeb7a13d340e9eb532

      After updating to QtCreator 3.2.1 (from 3.2.0) it is impossible to use Qbs with Qt4.8 to build of projects.

      When linking is always returns an error:

      :-1: error: LNK1104: cannot open file '.lib'

      Seems, that Qbs can not resolve the names of Qt 4.x libraries; it trying to pass an empty ".lib" libraries names.

      E.g. after adding of:

      Depends { name "Qt"; submodules: [ "core", "gui" ] }
      

      to the project and try to build a project from the QtCreator,
      will be added to linker are two empty directives ".lib .lib" which are core and gui modules.

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

            kandeler Christian Kandeler
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes