summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tutorials/widgets')
-rw-r--r--examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt3
-rw-r--r--examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt3
-rw-r--r--examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt3
-rw-r--r--examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt3
4 files changed, 8 insertions, 4 deletions
diff --git a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt
index b5fb51c77d..f6192757b2 100644
--- a/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt
+++ b/examples/widgets/tutorials/widgets/childwidget/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(childwidget WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(childwidget
main.cpp
)
target_link_libraries(childwidget PUBLIC
@@ -23,4 +23,5 @@ target_link_libraries(childwidget PUBLIC
install(TARGETS childwidget
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
diff --git a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt
index e963dd77f3..59f0053c1e 100644
--- a/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt
+++ b/examples/widgets/tutorials/widgets/nestedlayouts/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(nestedlayouts WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(nestedlayouts
main.cpp
)
target_link_libraries(nestedlayouts PUBLIC
@@ -23,4 +23,5 @@ target_link_libraries(nestedlayouts PUBLIC
install(TARGETS nestedlayouts
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
diff --git a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt
index b607403c55..033746d0d7 100644
--- a/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt
+++ b/examples/widgets/tutorials/widgets/toplevel/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(toplevel WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(toplevel
main.cpp
)
target_link_libraries(toplevel PUBLIC
@@ -23,4 +23,5 @@ target_link_libraries(toplevel PUBLIC
install(TARGETS toplevel
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
diff --git a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt
index a9db86bccf..3f3335d9e7 100644
--- a/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt
+++ b/examples/widgets/tutorials/widgets/windowlayout/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(windowlayout WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(windowlayout
main.cpp
)
target_link_libraries(windowlayout PUBLIC
@@ -23,4 +23,5 @@ target_link_libraries(windowlayout PUBLIC
install(TARGETS windowlayout
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)