diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-04-01 12:12:10 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-04-15 20:38:44 +0200 |
commit | d437a0bfca8f96dfd39c5872fd9479f2b7c4e61e (patch) | |
tree | 8c91e1f67b6d68b00f2b3b464561c7a9560cc65d /tests/auto/corelib/io/qprocess/testProcessSpacesArgs | |
parent | 92d351089bf7e285c9800342ff72205c04984f6c (diff) |
Remove Qt dependency from some test helper executables
pro2cmake did not take into account the
QT -= qt
bit of the .pro files.
Fixes: QTBUG-91676
Change-Id: If1373ee966312e4246490bd7389d75be9fa739cb
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testProcessSpacesArgs')
-rw-r--r-- | tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt | 41 |
1 files changed, 3 insertions, 38 deletions
diff --git a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt index fd2b38ef2f..0d2fff73c8 100644 --- a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt +++ b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt @@ -1,42 +1,7 @@ -# Generated from nospace.pro. +add_executable(nospace main.cpp) -##################################################################### -## nospace Binary: -##################################################################### - -qt_internal_add_executable(nospace - OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" - SOURCES - main.cpp - DEFINES - QT_DISABLE_DEPRECATED_BEFORE=0 - #PUBLIC_LIBRARIES # special case remove - #Qt::Gui # special case remove -) - -# special case begin -qt_internal_add_executable(onespace - OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" - SOURCES - main.cpp - DEFINES - QT_DISABLE_DEPRECATED_BEFORE=0 - #PUBLIC_LIBRARIES # special case remove - #Qt::Gui # special case remove -) +add_executable(onespace main.cpp) set_target_properties(onespace PROPERTIES OUTPUT_NAME "one space") -qt_internal_add_executable(twospaces - OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/" - SOURCES - main.cpp - DEFINES - QT_DISABLE_DEPRECATED_BEFORE=0 - #PUBLIC_LIBRARIES # special case remove - #Qt::Gui # special case remove -) +add_executable(twospaces main.cpp) set_target_properties(twospaces PROPERTIES OUTPUT_NAME "two space s") -# special case end - -#### Keys ignored in scope 1:.:.:nospace.pro:<TRUE>: -# OBJECTS_DIR = "$${OBJECTS_DIR}-nospace" |