diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-15 16:32:06 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-15 14:40:28 +0000 |
commit | 432b75517cba65e8ab633a2fe0d53f18abd59426 (patch) | |
tree | 2ba828e91dc228237e63a346c0ab7bc09fde83c5 /examples/websockets/qmlwebsocketclient/CMakeLists.txt | |
parent | 5feeb5867d032cc4641ee088cfa5bd9063bcf5cd (diff) |
Regenerate before merge
Change-Id: I9f22f5d050aeec3e8c308e286a897f0f524ed8e3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/websockets/qmlwebsocketclient/CMakeLists.txt')
-rw-r--r-- | examples/websockets/qmlwebsocketclient/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/websockets/qmlwebsocketclient/CMakeLists.txt b/examples/websockets/qmlwebsocketclient/CMakeLists.txt index bad5143..306e871 100644 --- a/examples/websockets/qmlwebsocketclient/CMakeLists.txt +++ b/examples/websockets/qmlwebsocketclient/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/websockets/qmlwebsocketclient") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) @@ -26,19 +26,19 @@ target_link_libraries(qmlwebsocketclient PUBLIC Qt::WebSockets ) + # Resources: set(data_resource_files "qml/qmlwebsocketclient/main.qml" ) -QT6_ADD_RESOURCES(qmlwebsocketclient "data" +qt6_add_resources(qmlwebsocketclient "data" PREFIX "/" FILES ${data_resource_files} ) - install(TARGETS qmlwebsocketclient RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" |