From e23e8e509ea26b953a1a6a671ded1a15bc72ad0b Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 14 Jan 2025 12:41:56 +0100 Subject: [PATCH] Add a hint how to test remote linux setups with a CMake project Change-Id: Icb792dc424ed86027b943d40f8c94190a9b57722 Reviewed-by: Cristian Adam Reviewed-by: hjk --- tests/manual/remotelinux/remotelinux-testplan.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/manual/remotelinux/remotelinux-testplan.md b/tests/manual/remotelinux/remotelinux-testplan.md index b2d59846197..b3b031e555b 100644 --- a/tests/manual/remotelinux/remotelinux-testplan.md +++ b/tests/manual/remotelinux/remotelinux-testplan.md @@ -42,7 +42,9 @@ Start Qt Creator with clean settings, preferably using the -tcs switch. location on the target machine. - For Qmake: Add `target.path = /tmp/mytest` and `INSTALLS += target`. - For qbs: Add `qbs.installPrefix: "/tmp/mytest"`. - - For CMake and other exotic build tools, check the respective documentation. + - For CMake: Add `set(CMAKE_INSTALL_PREFIX /tmp/mytest)` to CMakeList.txt + or add `-DCMAKE_INSTALL_PREFIX=/tmp/mytest` in the `Initial Configuration` + - For other exotic build tools, check the respective documentation. 3. Click the `Run` button. The project should get built and deployed, and the output "Hello World" should appear in the application output pane.