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

Review and Document new Qt 6.2 CMake API

    XMLWordPrintable

    Details

      Description

      Discussion and notes:

      https://git.qt.io/alcroito/qt6-cmake-api-review/-/blob/master/api_review_qt_6_2.md

      Gerrit changes:

      https://codereview.qt-project.org/q/topic:%22cmake_api_review_6_2%22+(status:open%20OR%20status:merged)

      New public API in Qt6CoreMacros.cmake:

      • qt6_add_library
      • qt6_finalize_target
      • qt6_enable_import_plugins_finalizer_mode
      • qt6_enable_resource_objects_finalizer_mode
      • qt6_wasm_add_target_helpers

      Existing public API in Qt6CoreMacros.cmake:

      • qt6_add_executable
      • qt6_add_plugin
      • qt_finalize_executable

      New public API in Qt6QmlMacros.cmake:

      • qt6_target_qml_sources

      Existing public API in Qt6QmlMacros.cmake:

      • qt6_add_qml_module
      • qt6_import_qml_plugins
      • qt6_qml_type_registration

      New public API in Qt6AxContainerMacros.cmake:

      • qt6_target_typelibs

      New public API in Qt6AxServerMacros.cmake:

      • qt6_add_axserver_executable
      • qt6_add_axserver_library
      • qt6_target_idl

      New public API in Qt6LinguistToolsMacros.cmake:

      • qt6_add_lupdate
      • qt6_add_lrelease
      • qt6_add_translations

      New public API in Qt6Quick3DMacros.cmake:

      • qt6_quick3d_bake_lightprobe_hdri
      • qt6_quick3d_internal_bake_lightprobe_hdri

      Existing public API in Qt6ScxmlMacros.cmake:

      • qt6_add_statecharts

      Existing public API in Qt6WaylandClientMacros.cmake:

      • qt6_generate_wayland_protocol_client_sources

      Existing public API in Qt6WaylandCompositorMacros.cmake:

      • qt6_generate_wayland_protocol_server_sources

      Existing public API in Qt6RemoteObjectsMacros.cmake:

      • qt6_add_repc_sources
      • qt6_add_repc_replicas

      New public API in Qt6ShaderToolsMacros.cmake:

      • qt6_add_shaders_impl
      • qt_internal_add_shaders

      Existing public API in Qt6ShaderToolsMacros.cmake:

      • qt6_add_shaders

        Attachments

          Issue Links

          1.
          Change the minimum required CMake version for building and using Qt Technical task Closed Alexandru Croitor
          2.
          Do not create qml plugin target when given an executable in qt_add_qml_module Technical task Closed Fabian Kosmale
          3.
          Change default of QT_QML_OUTPUT_DIRECTORTY to CMAKE_CURRENT_BINARY_DIR Technical task Closed Craig Scott
          4.
          Make TARGET_PATH option of qt_add_qml_module internal Technical task Closed Craig Scott
          5.
          Document what is the final resource path created by qt_add_qml_module Technical task Closed Craig Scott
          6.
          Check that it's possible to rename the TYPEINFO option even if the type registration of qt_add_qml_module is enabled Technical task Closed Craig Scott
          7.
          Check and document how a qml plugin without a backing library should be created Technical task Closed Craig Scott
          8.
          Check if URI and BACKING_TARGET options of qt_add_qml_plugin are mutually exclusive Technical task Closed Craig Scott
          9.
          Check behavior of QT_QML_OUTPUT_DIRECTORY in qt_add_qml_plugin Technical task Closed Craig Scott
          10.
          Rename NO_GENERATE_SOURCE option to NO_PLUGIN_GENERATE_SOURCE in qt_add_qml_plugin Technical task Closed Craig Scott
          11.
          Rename FILES option of qt_target_qml_sources to QML_FILES and add RESOURCES for symmetry Technical task Closed Craig Scott
          12.
          Check how PREFIX option in qt_qml_target_sources differs from RESOURCE_PREFIX Technical task Closed Craig Scott
          13.
          Make qt6_qml_type_registration an internal function Technical task Closed Craig Scott
          14.
          Check if it makes sense to query QT_QML_MODULE_FILES and SOURCE_DIR in qt_import_qml_plugins Technical task Closed Craig Scott
          15.
          Revise what should be the default target and output name of a qml plugin Technical task Closed Craig Scott
          16.
          Revise plugin target options of qt_add_qml_module Technical task Closed Craig Scott
          17.
          Document that AUTOMOC is needed for qt_add_qml_module Technical task Closed Craig Scott
          18.
          Revise qml import path passing to tools like qmllint, qmlcachegen Technical task Closed Craig Scott
          19.
          Create a QT_IMPORT_QML_PLUGIN C++ macro for static qml plugin importing Technical task Closed Ulf Hermann
          20.
          Ensure the STATICality of qml modules and plugins to be in sync Technical task Closed Craig Scott
          21.
          Document use case of linking multiple static qml modules into an application Technical task Open Qt Build System Team
          22.
          Restrict qt_target_qml_sources usage to real QML modules only Technical task Closed Craig Scott
          23.
          Rename qt6_enable_import_plugins_finalizer_mode and qt6_enable_object_libraries_finalizer_mode Technical task Closed Alexandru Croitor
          24.
          Adjust the name of TYPE option of qt6_add_plugin Technical task Closed Alexandru Croitor
          25.
          Replace calls of add_library in Qt implementations with qt_add_library Technical task Closed Alexandru Croitor
          26.
          Change qt6_wasm_add_target_helpers to be internal Technical task Closed Joerg Bornemann
          27.
          Adjust new options of qt6_add_shaders and rename qt6_internal_add_shaders as internal Technical task Closed Laszlo Agocs
          28.
          Rename various qt6_add_repc_X functions Technical task Closed Sona Kurazyan
          29.
          Clarify if WAYLAND_INCLUDE_DIR option in qt6_generate_wayland_protocol_server_sources is meant to be internal Technical task Closed Joerg Bornemann
          30.
          Revise qt6_quick3d_bake_lightprobe_hdri after API review Technical task Closed Laszlo Agocs
          31.
          Adjust qt_add_lrelease and qt6_add_translations after API review Technical task Closed Joerg Bornemann
          32.
          Check dependency implementation of qt_add_lrelease Technical task Closed Joerg Bornemann
          33.
          Revise qtactiveqt CMake API after review Technical task Closed Alexey Edelev
          34.
          Show error if qt_add_qml_module is called twice in the same directory scope Technical task Closed Craig Scott
          35.
          Document qtbase Qt 6.2 CMake API Technical task Closed Craig Scott
          For Gerrit Dashboard: QTBUG-94581
          # Subject Branch Project Status CR V

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes