diff options
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testProcessEchoGui')
-rw-r--r-- | tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt | 8 | ||||
-rw-r--r-- | tests/auto/corelib/io/qprocess/testProcessEchoGui/main_win.cpp | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt index 6254d4f61b..43663e62e8 100644 --- a/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt +++ b/tests/auto/corelib/io/qprocess/testProcessEchoGui/CMakeLists.txt @@ -5,5 +5,11 @@ ## testProcessEchoGui Binary: ##################################################################### -add_executable(testProcessEchoGui WIN32 main_win.cpp) +qt_internal_add_executable(testProcessEchoGui + GUI + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" + CORE_LIBRARY None + SOURCES + main_win.cpp +) target_link_libraries(testProcessEchoGui PRIVATE user32) diff --git a/tests/auto/corelib/io/qprocess/testProcessEchoGui/main_win.cpp b/tests/auto/corelib/io/qprocess/testProcessEchoGui/main_win.cpp index eab3275a38..ab54e4a328 100644 --- a/tests/auto/corelib/io/qprocess/testProcessEchoGui/main_win.cpp +++ b/tests/auto/corelib/io/qprocess/testProcessEchoGui/main_win.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <windows.h> |