Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.0.0 Alpha, 6.0.0 Beta1, 6.0.0 Beta2
-
None
-
-
736408880bfc67246959b2a745849d849b269e0f (qt/qtbase/dev)
Description
bjorn@thor:~/Qt/6.0.0/gcc_64/lib$ grep -Irn "LIBS =.*-l-pthread" *.prl
...
libQt6Qml.prl:5:QMAKE_PRL_LIBS = -lQt6Network -lQt6Core -l-pthread
libQt6QmlWorkerScript.prl:5:QMAKE_PRL_LIBS = $$[QT_INSTALL_LIBS]/libQt6Qml.so -lQt6Network -lQt6Core -l-pthread
libQt6QuickControls2Impl.prl:5:QMAKE_PRL_LIBS = -lQt6Quick -lQt6QmlModels -lQt6OpenGL -lQt6Gui -lGLX -lOpenGL -lQt6Qml -lQt6Network -lQt6Core -l-pthread
libQt6QuickControls2.prl:5:QMAKE_PRL_LIBS = -lQt6Quick -lQt6QmlModels -lQt6OpenGL -lQt6Gui -lGLX -lOpenGL -lQt6Qml -lQt6Network -lQt6Core -l-pthread
...
(most files left out for brevity, but about 22 files in total are affected, with 20 other files using -lpthread instead):
This causes issues when trying to compile applications using Qbs 1.17.0 (see QBS-1617)
Attachments
Issue Links
- relates to
-
QBS-1617 Linker error when compiling against Qt 6.0.0 Alpha/Beta (cannot find -l-pthread)
- Closed
-
QTBUG-85801 Issues with .prl files
- Closed
-
QTBUG-88068 Some .prl files contain invalid paths (on Mac?)
- Closed
-
QTBUG-89577 Incorrect QMAKE_PRL_TARGET on Windows
- Closed
For Gerrit Dashboard: QTBUG-87760 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
318456,3 | CMake: Do not prepend -l to libs starting with dash in prl files | dev | qt/qtbase | Status: MERGED | +2 | 0 |