summaryrefslogtreecommitdiffstats
path: root/examples/webenginequick/customdialogs/CMakeLists.txt
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2024-06-11 13:21:32 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2024-06-11 13:31:01 +0300
commit3cd4e0aa7961889eb06374885ed648f5b9bd85bc (patch)
tree6a089aedea155b1f1a74b553f4d1b57c70554a8f /examples/webenginequick/customdialogs/CMakeLists.txt
parent6d029165d1593c514db08c34d6b08a00a4435d5e (diff)
parent38063a6332b9f948a0381763271e9a9ac7af0999 (diff)
Merge tag 'v6.2.9-lts' into tqtc/lts-6.2-opensource6.2.9
Qt 6.2.9-lts release Conflicts solved: dependencies.yaml examples/webenginewidgets/push-notifications/CMakeLists.txt Change-Id: I0127c2575369f6939df89f3301659470d481b9bf
Diffstat (limited to 'examples/webenginequick/customdialogs/CMakeLists.txt')
-rw-r--r--examples/webenginequick/customdialogs/CMakeLists.txt73
1 files changed, 0 insertions, 73 deletions
diff --git a/examples/webenginequick/customdialogs/CMakeLists.txt b/examples/webenginequick/customdialogs/CMakeLists.txt
deleted file mode 100644
index b1899fd66..000000000
--- a/examples/webenginequick/customdialogs/CMakeLists.txt
+++ /dev/null
@@ -1,73 +0,0 @@
-cmake_minimum_required(VERSION 3.16)
-project(customdialogs LANGUAGES CXX)
-
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTOUIC ON)
-
-if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
-endif()
-
-set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/webenginequick/customdialogs")
-
-find_package(Qt6 REQUIRED COMPONENTS Core Gui WebEngineQuick)
-
-qt_add_executable(customdialogs
- main.cpp
- server.cpp server.h
-)
-
-set_target_properties(customdialogs PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-
-target_link_libraries(customdialogs PUBLIC
- Qt::Core
- Qt::Gui
- Qt::WebEngineQuick
-)
-
-set(customdialogs_resource_files
- "MessageRectangle.qml"
- "SwitchButton.qml"
- "WebView.qml"
- "forms/Authentication.qml"
- "forms/AuthenticationForm.ui.qml"
- "forms/ColorCell.qml"
- "forms/ColorPicker.qml"
- "forms/ColorPickerForm.ui.qml"
- "forms/CustomButton.qml"
- "forms/FilePicker.qml"
- "forms/FilePickerForm.ui.qml"
- "forms/FileRow.qml"
- "forms/JavaScript.qml"
- "forms/JavaScriptForm.ui.qml"
- "forms/Menu.qml"
- "forms/MenuForm.ui.qml"
- "forms/TouchSelectionMenu.qml"
- "forms/TouchSelectionMenuForm.ui.qml"
- "icon.svg"
- "index.html"
- "main.qml"
- "style.css"
-)
-
-qt_add_resources(customdialogs "customdialogs"
- PREFIX
- "/"
- FILES
- ${customdialogs_resource_files}
-)
-
-if(TARGET Qt::Widgets)
- target_link_libraries(customdialogs PUBLIC
- Qt::Widgets
- )
-endif()
-
-install(TARGETS customdialogs
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)