diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-09-03 15:01:05 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-15 20:05:32 +0200 |
commit | 44920e7fb272f49423c925555e8ae3bc38ffd8a4 (patch) | |
tree | 35d318f26cbdc006f7eaf4ff993e3e497b3f25b3 /tests/auto/corelib/io/qprocess/testProcessSpacesArgs | |
parent | 93fc3afe71467ca6aeffa41d7a6f4a170f82b62e (diff) |
CMake: Fix building with -DQT_FEATURE_gui=OFF
Some CMake files currently assume that QtGui is always enabled and we
get a configure-time failure without these changes.
Task-number: QTBUG-86053
Change-Id: I28e32c180c32221f32519017bac6b518a19d5983
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testProcessSpacesArgs')
-rw-r--r-- | tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt index 8512c7545b..3c0033a01f 100644 --- a/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt +++ b/tests/auto/corelib/io/qprocess/testProcessSpacesArgs/CMakeLists.txt @@ -10,8 +10,8 @@ qt_add_executable(nospace main.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES - Qt::Gui + #PUBLIC_LIBRARIES # special case remove + #Qt::Gui # special case remove ) # special case begin @@ -21,8 +21,8 @@ qt_add_executable(onespace main.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES - Qt::Gui + #PUBLIC_LIBRARIES # special case remove + #Qt::Gui # special case remove ) set_target_properties(onespace PROPERTIES OUTPUT_NAME "one space") @@ -32,8 +32,8 @@ qt_add_executable(twospaces main.cpp DEFINES QT_DISABLE_DEPRECATED_BEFORE=0 - PUBLIC_LIBRARIES - Qt::Gui + #PUBLIC_LIBRARIES # special case remove + #Qt::Gui # special case remove ) set_target_properties(twospaces PROPERTIES OUTPUT_NAME "two space s") # special case end |