Set remote device configuration in cmake presets for QtCreator
-
Hi all,
I wonder if it is possible to set the remote device configuration as an object in the
"vendor": { "qt.io/QtCreator/1.0": {
cmake presets configuration.
But in general, where is the documentation of the values that can be set using cmake Presets for QtCreator?Many thanks in advance for your time.
-
No run or remote device configuration can be set via the "vendor" field of CMake presets.
The documentation is at https://doc.qt.io/qtcreator/creator-build-settings-cmake-presets.html and https://www.qt.io/blog/qt-creator-14-cmake-update
Feel free to open a suggestion at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512 with the desired outcome. Thank you in advance.
-
-
Thank you for the answer.
I was thinking of adding a remote device configuration (that is very simple from the Qt Creator Gui) and also the executable to deploy and where to deploy it in the
vendor
field. But I read now that Qt creator deploys depending on the Cmakeinstall
commands.
Then the missing part of adding a device is quite simple so I do not think is necessary to add it to thevendor
field.Congratulations on Qt Creator 14.0. I like the CMake presets detection and that also creates a kit from a configured project by terminal.
-
But I read now that Qt creator deploys depending on the Cmake install commands.
But this is not happening for 14.0.2.It is somehow happening for Qt Creator 15 but I do not see thedeploy to remote Linux Host
as explained in this page when using the CMake presets kit in v15.0.0. -
If I add a deploy step using CMake install with arguments
--component app-runtime
it seems it tries to install on the host machine. How can I usedeploy step Cmake Install
but installing in a remote Linux device?
If I useOverride deployment data from build system
it copies the files to the remote host file system but when use cmake install it does not? -
I think the best option is to open a bug report / suggestion at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512 and assign it to me. Thank you in advance.
-