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

Document new Qt 6 CMake API

    XMLWordPrintable

Details

    Description

      New public API in Qt6CoreMacros.cmake:

      • qt6_make_output_file
      • qt6_get_moc_flags
      • qt6_create_moc_command
      • qt6_generate_moc
      • add_qt_gui_executable
      • qt6_generate_meta_types_json_file
      • qt6_generate_win32_rc_file
      • qt6_process_resource
      • qt6_add_plugin
      • qt_disable_utf8_sources

      New public API in Qt6AndroidMacros.cmake:

      • qt6_android_generate_deployment_settings
      • qt6_android_apply_arch_suffix
      • qt6_android_add_apk_target
      • qt6_android_get_sdk_build_tools_revision

      New public API in Qt6QmlMacros.cmake:

      • qt6_add_qml_module
      • qt6_target_qml_files
      • qt6_qml_type_registration
      • qt6_import_qml_plugins

      New public API in QtQuick3DMacros.cmake:

      • qt6_quick3d_build_shaders

      New public API in Qt6ShaderToolsMacros.cmake:

      • qt6_add_shaders

      New public API in Qt6RemoteObjectsMacros.cmake:

      • qt6_add_repc_files
      • qt6_add_repc_source
      • qt6_add_repc_replica
      • qt6_add_repc_merged
      • qt6_rep_from_header

      Missing qt6_generate_repc (only 5 available), possibly replaced entirely by qt6_add_repc_files

      Discussion and notes

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

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: