From 2ffbac7cb2f16ab350d203a12a86535772d1c578 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 16 Oct 2020 11:55:24 +0200 Subject: CMake: Regenerate examples to use qt_add_executable Task-number: QTBUG-87661 Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b Reviewed-by: Joerg Bornemann --- examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt | 2 +- examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/widgets/tools/echoplugin') diff --git a/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt index a3a3201d7e..6bba4b9f77 100644 --- a/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt +++ b/examples/widgets/tools/echoplugin/echowindow/.prev_CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(echoplugin +qt_add_executable(echoplugin echointerface.h echowindow.cpp echowindow.h main.cpp diff --git a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt index f87513a70b..4ddd0bc4d7 100644 --- a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt +++ b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(echopluginwindow # special case: renamed target +qt_add_executable(echopluginwindow # special case: renamed target echointerface.h echowindow.cpp echowindow.h main.cpp -- cgit v1.2.3