diff options
Diffstat (limited to 'examples/qpa')
-rw-r--r-- | examples/qpa/qrasterwindow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/qpa/windows/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qpa/qrasterwindow/CMakeLists.txt b/examples/qpa/qrasterwindow/CMakeLists.txt index 4e3444d0b7..0352c464f7 100644 --- a/examples/qpa/qrasterwindow/CMakeLists.txt +++ b/examples/qpa/qrasterwindow/CMakeLists.txt @@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qpa/qrasterwindow") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) -add_qt_gui_executable(qrasterwindow +qt_add_executable(qrasterwindow main.cpp ) target_link_libraries(qrasterwindow PUBLIC diff --git a/examples/qpa/windows/CMakeLists.txt b/examples/qpa/windows/CMakeLists.txt index 93d3d519fd..5013769f54 100644 --- a/examples/qpa/windows/CMakeLists.txt +++ b/examples/qpa/windows/CMakeLists.txt @@ -18,7 +18,7 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/qpa/windows") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) -add_executable(windows +qt_add_executable(windows main.cpp window.cpp window.h ) |