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

Fix building qmake when doing a Qt static build

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      Currently building qmake fails in a static build due to duplicate symbols, which come from individual cpp files and the QtCore library. The dynamic linker is smart enough to pick only one symbol when doing a shared library Qt build, but not in the static case.

      We should modify the cpp files after we merge the wip/cmake branch into qt6 branch, to fix qmake to be built in a static build. We shouldn't do it before the merge, because the cpp file changes would probably break the qmake Qt build.

      Alternatively we could choose not to link qmake against QtCore, but we would like to avoid that.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-75474
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes