diff options
author | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2024-01-08 16:41:56 +0100 |
---|---|---|
committer | MohammadHossein Qanbari <mohammad.qanbari@qt.io> | 2024-04-19 13:39:41 +0200 |
commit | 4e1a1f3697563124588d7d00089b15084220ca42 (patch) | |
tree | 6fc52dc5135c73257da50a283445a7c3c80b8ad4 /examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt | |
parent | 3e426182e2e8122d96b208702faaf3177f3a3081 (diff) |
Convert "Color Editor Factory" Example to snippets
The color editor factory example is removed and part of the codes are
used as snippets.
Fixes: QTBUG-119985
Pick-to: 6.7 6.6
Change-Id: I421e473e7db09a5af7543b80b87a338d8ff2ab7e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt')
-rw-r--r-- | examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt b/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt deleted file mode 100644 index 5dbc780027..0000000000 --- a/examples/widgets/itemviews/coloreditorfactory/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (C) 2022 The Qt Company Ltd. -# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause - -cmake_minimum_required(VERSION 3.16) -project(coloreditorfactory LANGUAGES CXX) - -find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) - -qt_standard_project_setup() - -qt_add_executable(coloreditorfactory - colorlisteditor.cpp colorlisteditor.h - main.cpp - window.cpp window.h -) - -set_target_properties(coloreditorfactory PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) - -target_link_libraries(coloreditorfactory PRIVATE - Qt6::Core - Qt6::Gui - Qt6::Widgets -) - -install(TARGETS coloreditorfactory - BUNDLE DESTINATION . - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -) - -qt_generate_deploy_app_script( - TARGET coloreditorfactory - OUTPUT_SCRIPT deploy_script - NO_UNSUPPORTED_PLATFORM_ERROR -) -install(SCRIPT ${deploy_script}) |