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

Invalid libNameForLinker value in core.qbs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.4.1
    • 1.4.1
    • General
    • None
    • Windows 7 x64, Qt 4.7.4, mingw 4.9.2.
    • a5b77c574ae5876cdb348bded7a3e091fe2f85bf

    Description

      Qt Creator 3.4.1 generates invalid values for properties libNameForLinkerDebug, libNameForLinkerRelease, libFilePathDebug, libFilePathRelease in file "xxx\AppData\Roaming\QtProject\qtcreator\qbs\profiles\qtc_4_7_4_Mi_xxxxxx\modules\Qt\core\core.qbs" for Qt 4.7.4 Kit with mingw 4.9.2 toolchain.

          property string libNameForLinkerDebug: "QtCored"
          property string libNameForLinkerRelease: "QtCore"
          ...
          property string libFilePathDebug: "C:/Qt/SDK/4.7.4/win32-mingw492/lib/QtCored.a"
          property string libFilePathRelease: "C:/Qt/SDK/4.7.4/win32-mingw492/lib/QtCore.a"
      

      With this settings build was ended with error:

      i686-w64-mingw32/bin/ld.exe: cannot find -lC:/Qt/SDK/4.7.4/win32-mingw492/lib/QtCored.a
      

      In Qt Creator 3.4.0 was

          property string libNameForLinkerDebug: "QtCored4"
          property string libNameForLinkerRelease: "QtCore4"
          ...
          property string libFilePathDebug: "C:/Qt/SDK/4.7.4/win32-mingw492/lib/libQtCored4.a"
          property string libFilePathRelease: "C:/Qt/SDK/4.7.4/win32-mingw492/lib/libQtCore4.a"
      

      and works fine.

      Same issues with other Qt libraries.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            nikosemga Nikodim Semgin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes