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

Wrong linker flags for static plugins with qmake

    XMLWordPrintable

Details

    Description

      1. On Linux, create a static build of qtbase + qtdeclarative (developer build)
      2. Use the qmake from that to build qtdeclarative/examples/quick/positioners

      Expected:
      The project compiles

      Actual outcome:

       

      /usr/bin/ld: cannot find -lQt6::QXcbIntegrationPlugin
      /usr/bin/ld: cannot find -lQt6::QXcbEglIntegrationPlugin
      ...

      For some reason, we try to link against the CMake target instead of the actual library

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes