Add a hint how to test remote linux setups with a CMake project

Change-Id: Icb792dc424ed86027b943d40f8c94190a9b57722
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2025-01-14 12:41:56 +01:00
parent 0006112445
commit e23e8e509e

View File

@@ -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.