Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Set remote device configuration in cmake presets for QtCreator
Forum Updated to NodeBB v4.3 + New Features

Set remote device configuration in cmake presets for QtCreator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 2 Posters 542 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EduardoQtDev
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      1
      • E EduardoQtDev has marked this topic as solved on
      • E Offline
        E Offline
        EduardoQtDev
        wrote on last edited by
        #3

        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 Cmake install commands.
        Then the missing part of adding a device is quite simple so I do not think is necessary to add it to the vendor 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.

        1 Reply Last reply
        1
        • E Offline
          E Offline
          EduardoQtDev
          wrote on last edited by EduardoQtDev
          #4

          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 the deploy to remote Linux Host as explained in this page when using the CMake presets kit in v15.0.0.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            EduardoQtDev
            wrote on last edited by EduardoQtDev
            #5

            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 use deploy step Cmake Install but installing in a remote Linux device?
            If I use Override deployment data from build system it copies the files to the remote host file system but when use cmake install it does not?

            1 Reply Last reply
            0
            • cristian-adamC Offline
              cristian-adamC Offline
              cristian-adam
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • E Offline
                E Offline
                EduardoQtDev
                wrote on last edited by
                #7

                https://bugreports.qt.io/browse/QTCREATORBUG-32191

                1 Reply Last reply
                2

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved