From 51f22a3a0495d8418a5d6dd0f09771c0347441b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Wed, 8 Dec 2021 16:42:09 +0100 Subject: Examples: Remove remaining conversion markers in CMakeLists.txt Pick-to: 6.3 Change-Id: Ia5d474a3efd6aadbd0ef1537318f2f24e6c24fee Reviewed-by: Alexandru Croitor --- examples/widgets/graphicsview/CMakeLists.txt | 2 -- examples/widgets/graphicsview/anchorlayout/CMakeLists.txt | 2 -- .../widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt | 2 -- examples/widgets/graphicsview/chip/CMakeLists.txt | 2 -- examples/widgets/graphicsview/collidingmice/CMakeLists.txt | 2 -- examples/widgets/graphicsview/diagramscene/CMakeLists.txt | 2 -- examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt | 2 -- examples/widgets/graphicsview/elasticnodes/CMakeLists.txt | 2 -- examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt | 2 -- examples/widgets/graphicsview/flowlayout/CMakeLists.txt | 12 +++++------- .../widgets/graphicsview/simpleanchorlayout/CMakeLists.txt | 2 -- .../widgets/graphicsview/weatheranchorlayout/CMakeLists.txt | 2 -- 12 files changed, 5 insertions(+), 29 deletions(-) (limited to 'examples/widgets/graphicsview') diff --git a/examples/widgets/graphicsview/CMakeLists.txt b/examples/widgets/graphicsview/CMakeLists.txt index 961807eb55..86936a8321 100644 --- a/examples/widgets/graphicsview/CMakeLists.txt +++ b/examples/widgets/graphicsview/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from graphicsview.pro. - qt_internal_add_example(chip) qt_internal_add_example(elasticnodes) qt_internal_add_example(embeddeddialogs) diff --git a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt index 8b31907f66..f4151c77b5 100644 --- a/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/anchorlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from anchorlayout.pro. - cmake_minimum_required(VERSION 3.16) project(anchorlayout LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt index 1c7363aedd..a788419124 100644 --- a/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt +++ b/examples/widgets/graphicsview/basicgraphicslayouts/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from basicgraphicslayouts.pro. - cmake_minimum_required(VERSION 3.16) project(basicgraphicslayouts LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/chip/CMakeLists.txt b/examples/widgets/graphicsview/chip/CMakeLists.txt index f614113afb..dc48cdd84f 100644 --- a/examples/widgets/graphicsview/chip/CMakeLists.txt +++ b/examples/widgets/graphicsview/chip/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from chip.pro. - cmake_minimum_required(VERSION 3.16) project(chip LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt index 626441e4b0..aab329528f 100644 --- a/examples/widgets/graphicsview/collidingmice/CMakeLists.txt +++ b/examples/widgets/graphicsview/collidingmice/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from collidingmice.pro. - cmake_minimum_required(VERSION 3.16) project(collidingmice LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt index 1c00e498be..5559f16dea 100644 --- a/examples/widgets/graphicsview/diagramscene/CMakeLists.txt +++ b/examples/widgets/graphicsview/diagramscene/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from diagramscene.pro. - cmake_minimum_required(VERSION 3.16) project(diagramscene LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt index 3ca5251a53..eb4f8bf00f 100644 --- a/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt +++ b/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from dragdroprobot.pro. - cmake_minimum_required(VERSION 3.16) project(dragdroprobot LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt index 090d646f5c..369ed964c5 100644 --- a/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt +++ b/examples/widgets/graphicsview/elasticnodes/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from elasticnodes.pro. - cmake_minimum_required(VERSION 3.16) project(elasticnodes LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt index 6c1896bbd3..63eecd3be9 100644 --- a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt +++ b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from embeddeddialogs.pro. - cmake_minimum_required(VERSION 3.16) project(embeddeddialogs LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt index 502dbe9457..9093f6303b 100644 --- a/examples/widgets/graphicsview/flowlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/flowlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from flowlayout.pro. - cmake_minimum_required(VERSION 3.16) project(flowlayout LANGUAGES CXX) @@ -13,26 +11,26 @@ if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview_flowlayout") # special case +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/graphicsview_flowlayout") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) -qt_add_executable(graphicsview_flowlayout # special case: renamed flowlayout +qt_add_executable(graphicsview_flowlayout flowlayout.cpp flowlayout.h main.cpp window.cpp window.h ) -set_target_properties(graphicsview_flowlayout PROPERTIES # special case +set_target_properties(graphicsview_flowlayout PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) -target_link_libraries(graphicsview_flowlayout PUBLIC # special case +target_link_libraries(graphicsview_flowlayout PUBLIC Qt::Core Qt::Gui Qt::Widgets ) -install(TARGETS graphicsview_flowlayout # special case: renamed flowlayout +install(TARGETS graphicsview_flowlayout RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" diff --git a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt index 27dc7273fb..73f25bb156 100644 --- a/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/simpleanchorlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from simpleanchorlayout.pro. - cmake_minimum_required(VERSION 3.16) project(simpleanchorlayout LANGUAGES CXX) diff --git a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt index 8490d8a951..92056a1c51 100644 --- a/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt +++ b/examples/widgets/graphicsview/weatheranchorlayout/CMakeLists.txt @@ -1,5 +1,3 @@ -# Generated from weatheranchorlayout.pro. - cmake_minimum_required(VERSION 3.16) project(weatheranchorlayout LANGUAGES CXX) -- cgit v1.2.3