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>
This commit is contained in:
parent
92d351089b
commit
d437a0bfca
@ -1,13 +1,5 @@
|
||||
# Generated from testExitCodes.pro.
|
||||
|
||||
#####################################################################
|
||||
## testExitCodes Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testExitCodes
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testExitCodes main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testForwardingHelper.pro.
|
||||
|
||||
#####################################################################
|
||||
## testForwardingHelper Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testForwardingHelper
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testForwardingHelper main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessCrash.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessCrash Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessCrash
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessCrash main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessDeadWhileReading.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessDeadWhileReading Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessDeadWhileReading
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessDeadWhileReading main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessEOF.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessEOF Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessEOF
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessEOF main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessEcho.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessEcho Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessEcho
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessEcho main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessEcho2.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessEcho2 Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessEcho2
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessEcho2 main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessEcho3.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessEcho3 Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessEcho3
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessEcho3 main.cpp)
|
||||
|
@ -1,24 +1,6 @@
|
||||
# Generated from testProcessEchoGui.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessEchoGui Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessEchoGui
|
||||
GUI # special case
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
DEFINES
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_extend_target(testProcessEchoGui CONDITION WIN32
|
||||
SOURCES
|
||||
main_win.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
user32
|
||||
)
|
||||
add_executable(testProcessEchoGui WIN32 main_win.cpp)
|
||||
target_link_libraries(testProcessEchoGui PRIVATE user32)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessEnvironment.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessEnvironment Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessEnvironment
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessEnvironment main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessHang.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessHang Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessHang
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
#PUBLIC_LIBRARIES # special case remove
|
||||
#Qt::Gui # special case remove
|
||||
)
|
||||
add_executable(testProcessHang main.cpp)
|
||||
|
@ -1,11 +1,5 @@
|
||||
# Generated from testProcessNormal.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessNormal Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessNormal
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
||||
add_executable(testProcessNormal main.cpp)
|
||||
|
@ -1,11 +1,5 @@
|
||||
# Generated from testProcessOutput.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessOutput Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testProcessOutput
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
||||
add_executable(testProcessOutput main.cpp)
|
||||
|
@ -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"
|
||||
|
@ -1,13 +1,6 @@
|
||||
# Generated from testSetNamedPipeHandleState.pro.
|
||||
|
||||
#####################################################################
|
||||
## testSetNamedPipeHandleState Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testSetNamedPipeHandleState
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
add_executable(testSetNamedPipeHandleState main.cpp)
|
||||
target_link_libraries(testSetNamedPipeHandleState PRIVATE kernel32.lib)
|
||||
|
@ -1,15 +1,8 @@
|
||||
# Generated from testSoftExit.pro.
|
||||
|
||||
#####################################################################
|
||||
## testSoftExit Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testSoftExit
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
add_executable(testSoftExit)
|
||||
|
||||
qt_internal_extend_target(testSoftExit CONDITION WIN32
|
||||
SOURCES
|
||||
|
@ -1,11 +1,7 @@
|
||||
# Generated from testSpaceInName.pro.
|
||||
|
||||
#####################################################################
|
||||
## testSpaceInName Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(testSpaceInName
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../test Space In Name"
|
||||
SOURCES
|
||||
main.cpp
|
||||
)
|
||||
add_executable(testSpaceInName main.cpp)
|
||||
set_property(TARGET testSpaceInName PROPERTY
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../test Space In Name")
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from write-read-write.pro.
|
||||
|
||||
#####################################################################
|
||||
## write-read-write Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_executable(write-read-write
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
add_executable(write-read-write main.cpp)
|
||||
|
@ -1,13 +1,5 @@
|
||||
# Generated from testProcessLoopback.pro.
|
||||
|
||||
#####################################################################
|
||||
## testProcessLoopback Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_benchmark(testProcessLoopback
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||
SOURCES
|
||||
main.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
add_executable(testProcessLoopback main.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user