forked from qt-creator/qt-creator
Doc: Update CMakeLists.txt files used in Qt Quick tutorials
...to the ones created by version 7.0 wizard templates. Task-number: QTCREATORBUG-26610 Change-Id: I67409b5ba4800199f209d9ad1a85c6657e9210df Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -11,12 +11,7 @@ qt_add_executable(appaccelbubble
|
|||||||
main.cpp
|
main.cpp
|
||||||
MANUAL_FINALIZATION
|
MANUAL_FINALIZATION
|
||||||
)
|
)
|
||||||
set_target_properties(appaccelbubble PROPERTIES
|
|
||||||
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist"
|
|
||||||
)
|
|
||||||
set_property(TARGET appaccelbubble APPEND PROPERTY
|
|
||||||
QT_ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android
|
|
||||||
)
|
|
||||||
qt_add_qml_module(appaccelbubble
|
qt_add_qml_module(appaccelbubble
|
||||||
URI accelbubble
|
URI accelbubble
|
||||||
VERSION 1.0
|
VERSION 1.0
|
||||||
@@ -24,6 +19,19 @@ qt_add_qml_module(appaccelbubble
|
|||||||
RESOURCES Bluebubble.svg
|
RESOURCES Bluebubble.svg
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_target_properties(appaccelbubble PROPERTIES
|
||||||
|
MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
|
||||||
|
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||||
|
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
||||||
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist"
|
||||||
|
MACOSX_BUNDLE TRUE
|
||||||
|
WIN32_EXECUTABLE TRUE
|
||||||
|
)
|
||||||
|
|
||||||
|
set_property(TARGET appaccelbubble APPEND PROPERTY
|
||||||
|
QT_ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android
|
||||||
|
)
|
||||||
|
|
||||||
target_compile_definitions(appaccelbubble
|
target_compile_definitions(appaccelbubble
|
||||||
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
|
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
|
||||||
target_link_libraries(appaccelbubble
|
target_link_libraries(appaccelbubble
|
||||||
|
@@ -18,6 +18,14 @@ qt_add_qml_module(apptransitions
|
|||||||
RESOURCES qt-logo.png
|
RESOURCES qt-logo.png
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_target_properties(apptransitions PROPERTIES
|
||||||
|
MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
|
||||||
|
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||||
|
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
||||||
|
MACOSX_BUNDLE TRUE
|
||||||
|
WIN32_EXECUTABLE TRUE
|
||||||
|
)
|
||||||
|
|
||||||
target_compile_definitions(apptransitions
|
target_compile_definitions(apptransitions
|
||||||
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
|
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
|
||||||
target_link_libraries(apptransitions
|
target_link_libraries(apptransitions
|
||||||
|
Reference in New Issue
Block a user