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

Fix building qmake when doing a Qt static build

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • None
    • None
    • Build System: CMake

    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

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

          Activity

            People

              jbornema Joerg Bornemann
              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