summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmllegend/CMakeLists.txt
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2023-01-17 09:42:25 +0200
committerTomi Korpipaa <tomi.korpipaa@qt.io>2023-01-17 11:07:13 +0200
commit664b3d0e9852ec0ce1b5da45a8eccb322dc77f14 (patch)
tree70898150a31bcf6ed9514489eacac12a753b2556 /examples/datavisualization/qmllegend/CMakeLists.txt
parent950cfd40e79f2dc892703eb8c77bc3a3be845f2a (diff)
Remove redundant examples
Pick-to: 6.5 Fixes: QTBUG-110273 Change-Id: I1e9ad2b07cd566235bdfb99b691d5f87a3d49f33 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Dilek Akcay <dilek.akcay@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'examples/datavisualization/qmllegend/CMakeLists.txt')
-rw-r--r--examples/datavisualization/qmllegend/CMakeLists.txt57
1 files changed, 0 insertions, 57 deletions
diff --git a/examples/datavisualization/qmllegend/CMakeLists.txt b/examples/datavisualization/qmllegend/CMakeLists.txt
deleted file mode 100644
index a862ac9c..00000000
--- a/examples/datavisualization/qmllegend/CMakeLists.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: BSD-3-Clause
-
-cmake_minimum_required(VERSION 3.16)
-project(qmllegend LANGUAGES CXX)
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
-
-if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
-endif()
-
-set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}")
-
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Qml)
-find_package(Qt6 COMPONENTS Quick)
-find_package(Qt6 COMPONENTS DataVisualization)
-
-qt_add_executable(qmllegend
- main.cpp
-)
-set_target_properties(qmllegend PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-target_link_libraries(qmllegend PUBLIC
- Qt::Core
- Qt::Gui
- Qt::Qml
- Qt::Quick
- Qt::DataVisualization
-)
-
-set(qmllegend_resource_files
- "qml/qmllegend/Data.qml"
- "qml/qmllegend/LegendItem.qml"
- "qml/qmllegend/main.qml"
-)
-
-qt6_add_resources(qmllegend "qmllegend"
- PREFIX
- "/"
- FILES
- ${qmllegend_resource_files}
-)
-
-install(TARGETS qmllegend
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)