summaryrefslogtreecommitdiffstats
path: root/examples/widgets/touch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/touch')
-rw-r--r--examples/widgets/touch/dials/CMakeLists.txt3
-rw-r--r--examples/widgets/touch/fingerpaint/CMakeLists.txt3
-rw-r--r--examples/widgets/touch/knobs/CMakeLists.txt3
-rw-r--r--examples/widgets/touch/pinchzoom/CMakeLists.txt3
4 files changed, 8 insertions, 4 deletions
diff --git a/examples/widgets/touch/dials/CMakeLists.txt b/examples/widgets/touch/dials/CMakeLists.txt
index fa31852b3d..2bfe6b78cf 100644
--- a/examples/widgets/touch/dials/CMakeLists.txt
+++ b/examples/widgets/touch/dials/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(dials WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(dials
dials.ui
main.cpp
)
@@ -24,4 +24,5 @@ target_link_libraries(dials PUBLIC
install(TARGETS dials
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
diff --git a/examples/widgets/touch/fingerpaint/CMakeLists.txt b/examples/widgets/touch/fingerpaint/CMakeLists.txt
index 606e6bbc64..4ba2710e67 100644
--- a/examples/widgets/touch/fingerpaint/CMakeLists.txt
+++ b/examples/widgets/touch/fingerpaint/CMakeLists.txt
@@ -14,7 +14,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
find_package(Qt5 COMPONENTS PrintSupport) # special case
-add_qt_gui_executable(fingerpaint WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(fingerpaint
main.cpp
mainwindow.cpp mainwindow.h
scribblearea.cpp scribblearea.h
@@ -31,4 +31,5 @@ endif()
install(TARGETS fingerpaint
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
diff --git a/examples/widgets/touch/knobs/CMakeLists.txt b/examples/widgets/touch/knobs/CMakeLists.txt
index c23a11f024..55f9820f68 100644
--- a/examples/widgets/touch/knobs/CMakeLists.txt
+++ b/examples/widgets/touch/knobs/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(knobs WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(knobs
knob.cpp knob.h
main.cpp
)
@@ -24,4 +24,5 @@ target_link_libraries(knobs PUBLIC
install(TARGETS knobs
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)
diff --git a/examples/widgets/touch/pinchzoom/CMakeLists.txt b/examples/widgets/touch/pinchzoom/CMakeLists.txt
index 44951db727..f0cece0acd 100644
--- a/examples/widgets/touch/pinchzoom/CMakeLists.txt
+++ b/examples/widgets/touch/pinchzoom/CMakeLists.txt
@@ -13,7 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples")
find_package(Qt5 COMPONENTS Widgets)
-add_qt_gui_executable(pinchzoom WIN32 MACOSX_BUNDLE
+add_qt_gui_executable(pinchzoom
graphicsview.cpp graphicsview.h
main.cpp
mice.qrc
@@ -26,4 +26,5 @@ target_link_libraries(pinchzoom PUBLIC
install(TARGETS pinchzoom
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)