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

Adjust behavior of add_qt_gui_executable / qt_add_executable as per API review

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      Resulted from https://codereview.qt-project.org/c/qt/qtbase/+/317353/1/src/corelib/Qt6CoreMacros.cmake#449

      Things to implement:

      1) Remove WIN32 MACOSX_BUNDLE properties.
      Users should opt-in manually via set_target_properties.
      This most likely implies that we'll need to regenerate all examples to set those where appropriate.

      2) remove Gui linkage
      I don't expect many changes needed in the examples to adapt to this.

      3) Remove calling of qt6_generate_win32_rc_file
      Not sure about the impact of this yet.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes