Details
-
User Story
-
Resolution: Done
-
P2: Important
-
6.0
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
- relates to
-
QTBUG-88605 Document target based qt_add_resources API
-
- Closed
-
-
QTBUG-94581 Review and Document new Qt 6.2 CMake API
-
- Closed
-
-
QTBUG-87618 Provide a way to generate Windows .rc files
-
- Reported
-
-
QTBUG-88763 Review / refactor public CMake API that is marked as Technical Preview
-
- Closed
-
- resulted in
-
QTBUG-87661 Rename add_qt_gui_executable in examples to qt_add_executable across all repos
-
- Closed
-
-
QTBUG-87664 Adjust behavior of add_qt_gui_executable / qt_add_executable as per API review
-
- Closed
-
-
QTBUG-87672 Adjust qtremoteobjects public CMake API
-
- Closed
-
-
QTBUG-87644 Target-based qt6_add_resources doesn't handle -binary option like qt6_add_binary_resources
-
- Closed
-
-
QTBUG-87643 Discourage use of AUTORCC due to missing qt quick processing step
-
- Closed
-
-
QTBUG-87642 Expose processed QML files from resources inside IDEs
-
- Closed
-
For Gerrit Dashboard: QTBUG-86827 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
315947,4 | CMake: Clean up the public API a bit | dev | qt/qtbase | Status: MERGED | +2 | 0 |
315948,6 | CMake: Remove old Qt 5 CMake build system files | dev | qt/qtbase | Status: MERGED | +2 | 0 |
315958,2 | CMake: Rename qt6_quick_compiler_process_resources to be internal | dev | qt/qtbase | Status: MERGED | +2 | 0 |
315959,3 | CMake: Remove old Qt 5 CMake build system files | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
315960,4 | CMake: Add versionless functions for new public API | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
315961,4 | CMake: Rename qt6_quick_compiler_process_resources to be internal | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
316013,2 | CMake: Cleanup public API | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
317208,3 | CMake: Use qt_internal_add_plugin in qt_internal_add_qml_module | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
317353,13 | CMake: Rename some public API functions | dev | qt/qtbase | Status: MERGED | +2 | 0 |
317354,3 | CMake: Mark some of the public APIs as TP | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
317355,1 | WIP: CMake public API review | dev | qt/qtquick3d | Status: ABANDONED | -2 | 0 |
317356,1 | WIP: CMake public API review | dev | qt/qtshadertools | Status: ABANDONED | -2 | 0 |
317358,3 | WIP: CMake public API review | dev | qt/qtremoteobjects | Status: ABANDONED | -2 | 0 |
317712,2 | CMake: Adjust to public API renaming in qtbase | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
318864,2 | CMake: Add versionless function names | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
318952,3 | CMake: Use versionfull functions within our public API | dev | qt/qtbase | Status: MERGED | +2 | 0 |
318953,3 | CMake: Make qt_add_executable more minimalistic | dev | qt/qtbase | Status: MERGED | +2 | 0 |
318954,3 | CMake: pro2cmake: Handle CONFIG+=console app_bundle in examples | dev | qt/qtbase | Status: MERGED | +2 | 0 |
318955,3 | CMake: Regenerate examples to set the WIN32_EXECUTABLE property | dev | qt/qtbase | Status: MERGED | +2 | 0 |
318963,3 | CMake: Regenerate examples to set the WIN32_EXECUTABLE property | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |