Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87760

.prl files containing invalid "-l-pthread" entries in QMAKE_PRL_LIBS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.0.0 Alpha, 6.0.0 Beta1, 6.0.0 Beta2
    • Build System
    • None
    • Linux/X11
    • 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

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

          Activity

            People

              jbornema Joerg Bornemann
              bjorn Thorbjørn Lindeijer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes