Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95713 Post-Qt-6.2.0 release CMake API follow ups
  3. QTBUG-95603

Remove workarounds for linking object libraries in static Qt builds

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Build System: CMake
    • None

    Description

      Based on work in QTBUG-95169, QTBUG-95018, QTBUG-95601

      and given the plan to require CMake 3.21 for static Qt builds once we've validated that everything works correctly and we don't need the old workarounds anymore, we should remove the object library workarounds we've implemented.

      These would be the target_link_options approach, target_sources approach and the object library finalizer mode.

      https://github.com/qt/qtbase/blob/2658f95d3c3aafe3d3da20bf02d597f70277cd8f/src/corelib/Qt6CoreMacros.cmake#L1515

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes