diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-11-15 22:00:14 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-11-17 19:59:11 +0100 |
commit | f562711c642cba7bed6c96d452437ffc9b25edc4 (patch) | |
tree | 4fdfc0718caadac4341b295af0132d3310d49fb5 /examples/widgets/gestures/imagegestures/CMakeLists.txt | |
parent | bec264c15fe07382009def3c4bbef3f3b689b6eb (diff) | |
download | qtbase-f562711c642cba7bed6c96d452437ffc9b25edc4.tar.gz |
Examples: Use qt_standard_project_setup()
Change-Id: I0ceab08108b7e58e4e2ed25db9e3c289f5c0ddac
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/widgets/gestures/imagegestures/CMakeLists.txt')
-rw-r--r-- | examples/widgets/gestures/imagegestures/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/gestures/imagegestures/CMakeLists.txt b/examples/widgets/gestures/imagegestures/CMakeLists.txt index 71109cde10..10c6a6830c 100644 --- a/examples/widgets/gestures/imagegestures/CMakeLists.txt +++ b/examples/widgets/gestures/imagegestures/CMakeLists.txt @@ -4,8 +4,6 @@ cmake_minimum_required(VERSION 3.16) project(imagegestures LANGUAGES CXX) -set(CMAKE_AUTOMOC ON) - if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() @@ -14,6 +12,8 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/gestures/imagegestures") find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) +qt_standard_project_setup() + qt_add_executable(imagegestures imagewidget.cpp imagewidget.h main.cpp |