diff options
author | hjk <hjk@qt.io> | 2022-06-17 10:11:42 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-06-20 08:27:37 +0000 |
commit | 1bea5708b48429b50223d56d0f6c8384b38df3e7 (patch) | |
tree | ec1461870c187839c375ae59c3b17ad900acef58 /tests | |
parent | d783b4d5ff14ce346ec4c13272d2b2583c3b2d6c (diff) | |
download | qt-creator-1bea5708b48429b50223d56d0f6c8384b38df3e7.tar.gz |
Debugger: Make one manual test deployable to remote linux
Change-Id: Ia61926353e93ae394d3eb2082bb92769967cd958
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/debugger/gui/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/manual/debugger/gui/CMakeLists.txt b/tests/manual/debugger/gui/CMakeLists.txt index 59e45b3804..21c89f291c 100644 --- a/tests/manual/debugger/gui/CMakeLists.txt +++ b/tests/manual/debugger/gui/CMakeLists.txt @@ -16,3 +16,10 @@ add_executable(manual_test_debugger_gui tst_gui.cpp ) target_link_libraries(manual_test_debugger_gui PRIVATE Qt${QT_VERSION_MAJOR}::Widgets) + +if (NOT QT_CREATOR_API_DEFINED) + if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set (CMAKE_INSTALL_PREFIX "/tmp/manual_test_debugger_gui" CACHE PATH "default install path" FORCE) + endif() + install(TARGETS manual_test_debugger_gui) + endif() |