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