summaryrefslogtreecommitdiff
path: root/examples/assistant
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-03-21 18:47:20 +0100
committerKai Köhne <kai.koehne@qt.io>2022-03-22 15:32:28 +0100
commit2d267a74c536fa229b0425b90f2b72b4b6697e93 (patch)
treed0fd8bca7bfd7c454e62ae33cdfc2b04f8a71962 /examples/assistant
parent170c1f146c33e0ac155c2c044cdd47d3c7a778b0 (diff)
downloadqttools-2d267a74c536fa229b0425b90f2b72b4b6697e93.tar.gz
Remove .prev_CMakeLists.txt
Amends aeaa9e2a46a3 Pick-to: 6.3 Change-Id: I4ac5d380b72bb0952ddd8ceb55b262e7e8a4fba7 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/assistant')
-rw-r--r--examples/assistant/simpletextviewer/.prev_CMakeLists.txt47
1 files changed, 0 insertions, 47 deletions
diff --git a/examples/assistant/simpletextviewer/.prev_CMakeLists.txt b/examples/assistant/simpletextviewer/.prev_CMakeLists.txt
deleted file mode 100644
index 772115941..000000000
--- a/examples/assistant/simpletextviewer/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-# Generated from simpletextviewer.pro.
-
-cmake_minimum_required(VERSION 3.14)
-project(simpletextviewer 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}/assistant/simpletextviewer")
-
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Widgets)
-
-qt_add_executable(simpletextviewer
- assistant.cpp assistant.h
- findfiledialog.cpp findfiledialog.h
- main.cpp
- mainwindow.cpp mainwindow.h
- textedit.cpp textedit.h
-)
-set_target_properties(simpletextviewer PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-target_compile_definitions(simpletextviewer PUBLIC
- SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
-)
-
-target_link_libraries(simpletextviewer PUBLIC
- Qt::Core
- Qt::Gui
- Qt::Widgets
-)
-
-install(TARGETS simpletextviewer
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)