diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt')
-rw-r--r-- | examples/qml/tutorials/extending-qml/chapter6-plugins/.prev_CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 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}" |