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

Can't link project with mingw

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.3.2
    • 1.3.1
    • None
    • Win7, QtCreator 3.2.1, Qt 5.3.2-mingw 32bit
    • 05cb6aff3b95d463d506e7295cb32018722038fb

    Description

      Can't link project with mingw.
      Qbs use wrong Qt lib name.

      Qbs use D:/Qt/Qt/5.3/mingw482_32/lib/Qt5Cored as lib name but need use simple Qt5Cored

      Error: D:/Qt/Qt/Tools/mingw482_32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lD:/Qt/Qt/5.3/mingw482_32/lib/Qt5Cored

      All link command : D:/Qt/Qt/Tools/mingw482_32/bin/g++.exe m32 -g -Wall -Wextra D:/projects/tests/build-test_types-Desktop_Qt_5_3_MinGW_32bit-Отладка/qtc_Desktop_Qt_5_3_MinGW_32bit-debug/test_types.qtc_Desktop_Qt_5_3_MinGW_32bit/.obj/main.cpp.o "-Wl,-subsystem,console" "-Wl,major-subsystem-version,5" "-Wl,minor-subsystem-version,01" "-Wl,major-os-version,5" "-Wl,minor-os-version,01" -o D:/projects/tests/build-test_types-Desktop_Qt_5_3_MinGW_32bit-Отладка/qtc_Desktop_Qt_5_3_MinGW_32bit-debug/test_types.qtc_Desktop_Qt_5_3_MinGW_32bit/test_types.exe -LD:/Qt/Qt/5.3/mingw482_32/lib -lD:/Qt/Qt/5.3/mingw482_32/lib/Qt5Cored "-Wl,-unresolved-symbols=ignore-in-shared-libs"

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            alex312 Slyshyk Oleksiy
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes