summaryrefslogtreecommitdiffstats
path: root/examples/qtestlib/tutorial1
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-12-08 17:25:35 +0100
committerKai Koehne <kai.koehne@qt.io>2021-12-16 10:56:47 +0000
commit8df7ae768e85cd76b3ac53700d3fdeebf6453a7b (patch)
tree9c0ca7cfb20373c3aa3db212a8c9fdb4fab03aa4 /examples/qtestlib/tutorial1
parentfa0faf4c9ca1a0c8dda248a2502604e16eee8081 (diff)
Examples: Fix whitespace issues in CMakeLists.txt
Change-Id: I8e6dd1f250f8be6016ee4164cb2ab7034cbb1203 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 80a76df1784a135fa1d86ac88f8c4d2dc6bf8c35)
Diffstat (limited to 'examples/qtestlib/tutorial1')
-rw-r--r--examples/qtestlib/tutorial1/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qtestlib/tutorial1/CMakeLists.txt b/examples/qtestlib/tutorial1/CMakeLists.txt
index 4ef18bbc34..be7aa40e2c 100644
--- a/examples/qtestlib/tutorial1/CMakeLists.txt
+++ b/examples/qtestlib/tutorial1/CMakeLists.txt
@@ -8,7 +8,7 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
+ set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qtestlib/tutorial1")
@@ -18,10 +18,12 @@ find_package(Qt6 REQUIRED COMPONENTS Core Gui Test Widgets)
qt_add_executable(tutorial1
testqstring.cpp
)
+
set_target_properties(tutorial1 PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE TRUE
)
+
target_link_libraries(tutorial1 PUBLIC
Qt::Core
Qt::Gui