diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins')
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt index eea602f6f8..ef3b9791f9 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt @@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples") +set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter6-plugins") find_package(Qt6 COMPONENTS Qml) find_package(Qt6 COMPONENTS Quick) @@ -22,6 +22,7 @@ target_link_libraries(chapter6-plugins PUBLIC Qt::Quick ) + # Resources: set(app_resource_files "app.qml" @@ -34,7 +35,6 @@ qt6_add_resources(chapter6-plugins "app" ${app_resource_files} ) - install(TARGETS chapter6-plugins RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt index b83e160c82..f8b1a2de4c 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/CMakeLists.txt @@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples") +set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter6-plugins") find_package(Qt6 COMPONENTS Qml) find_package(Qt6 COMPONENTS Quick) @@ -22,6 +22,7 @@ target_link_libraries(chapter6-plugins PUBLIC Qt::Quick ) + # Resources: set(app_resource_files "app.qml" @@ -34,7 +35,6 @@ qt6_add_resources(chapter6-plugins "app" ${app_resource_files} ) - install(TARGETS chapter6-plugins RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt index 938340eb87..41abb2891b 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/CMakeLists.txt @@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples") +set(INSTALL_EXAMPLEDIR "examples/qml/tutorials/extending-qml/chapter6-plugins/Charts") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) |