Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
1.13.1
-
None
-
ArchLinux x64
Description
Created a simple Qt project through QtCreator 4.10. Weird stuff is added to the end of the linking command. Happens also when build in command line. Here is the output
20:56:35: Running steps for project test_qt_qbs...
linking test_qt_qbs [test_qt_qbs]
/usr/bin/g++ -Wl,-m,elf_x86_64 -m64 -o /mnt/Documents/Projects/C+/build/test_qt_qbs-Desktop-Debug/Debug/test-qt-qbs.bd05f172/test_qt_qbs /mnt/Documents/Projects/C/build/test_qt_qbs-Desktop-Debug/Debug/test-qt-qbs.bd05f172/3a52ce780950d4d9/main.cpp.o /mnt/Documents/Projects/C/build/test_qt_qbs-Desktop-Debug/Debug/test-qt-qbs.bd05f172/3a52ce780950d4d9/mainwindow.cpp.o /mnt/Documents/Projects/C+/build/test_qt_qbs-Desktop-Debug/Debug/test-qt-qbs.bd05f172/73489b871e127538/moc_mainwindow.cpp.o /usr/lib/libQt5Widgets.so.5.13.1 /usr/lib/libQt5Gui.so.5.13.1 /usr/lib/libQt5Core.so.5.13.1 -lpthread '-lpthread;' /usr/lib/libQt5Core.so '/usr/lib/libQt5Core.so;-lpthread;' /usr/lib/libQt5Gui.so '/usr/lib/libQt5Gui.so;$$[QT_INSTALL_LIBS]/libQt5Core.so;-lpthread;'
g++: error: /usr/lib/libQt5Core.so;-lpthread;: No such file or directory
g++: error: /usr/lib/libQt5Gui.so;$$[QT_INSTALL_LIBS]/libQt5Core.so;-lpthread;: No such file or directory
Process failed with exit code 1.
The following products could not be built for configuration Debug:
test_qt_qbs
Error while building/deploying project test_qt_qbs (kit: Desktop)
When executing step "Qbs Build"
20:56:35: Elapsed time: 00:00.
Attachments
Issue Links
- duplicates
-
QBS-1492 Cannot link Qt 5.13.1-application, corrupt command line containing '-lQt5Core;-lpthread;'
- Closed