0

I just try to update a project from Qt5.5.1 to Qt5.6 and now it fails during linking.

C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lC:/Qt/Qt5.6.0/5.6/mingw49_32/lib/liblibQt5Core.a
C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lC:/Qt/Qt5.6.0/5.6/mingw49_32/lib/liblibQt5Sql.a
C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lC:/Qt/Qt5.6.0/5.6/mingw49_32/lib/liblibQt5Gui.a
C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lC:/Qt/Qt5.6.0/5.6/mingw49_32/lib/liblibQt5Widgets.a
collect2.exe: error: ld returned 1 exit status

The programm compiled fine with QT5.5.1 using qbs. Now I added the new QT Version and I get these errors. I have no idea, why qbs adding two time the "lib" prefix, nor why qbs is trying to use it at all. This program should use the shared libraries of Qt.

qbs_profile_qt_5_6_0

Could someone give me a hint, how I can fix this? Or what the cause of the problem might be?

0rko
  • 168
  • 6
  • What version of qbs (or Qt Creator) are you using? Similar issues were reported as QBS-688 and QBS-714 in the Qt bug tracker. – Jake Petroules May 04 '16 at 16:17
  • Sorry for taking so long, we had a long weekend. I'm using qbs 1.4.5. It looks pretty much like QBS-714, but that should be fixed since qbs 1.3.5. – 0rko May 09 '16 at 11:25
  • Can you see if you still encounter this issue with qbs 1.5.0? (it was released just two days ago) – Jake Petroules May 14 '16 at 04:28
  • Tried it out with qbs 1.5.0. Now everything seems to work as expected. Thanx :) – 0rko May 18 '16 at 11:32

1 Answers1

1

This issue was resolved in qbs 1.5.0.

Jake Petroules
  • 23,472
  • 35
  • 144
  • 225