io/process: mask the "QProcess destroyed for running process" warn

This commit is contained in:
outfoxxed 2025-07-02 20:16:47 -07:00
parent f681e2016f
commit 86591f122d
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
5 changed files with 88 additions and 3 deletions

View file

@ -1,7 +1,8 @@
function (qs_test name)
add_executable(${name} ${ARGN})
target_link_libraries(${name} PRIVATE Qt::Quick Qt::Network Qt::Test quickshell-io)
target_link_libraries(${name} PRIVATE Qt::Quick Qt::Network Qt::Test quickshell-io quickshell-core quickshell-window quickshell-ui)
add_test(NAME ${name} WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" COMMAND $<TARGET_FILE:${name}>)
endfunction()
qs_test(datastream datastream.cpp ../datastream.cpp)
qs_test(process process.cpp ../process.cpp ../datastream.cpp ../processcore.cpp)