Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem transfering app to Raspberry with Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Problem transfering app to Raspberry with Qt Creator

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 782 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mz-dev
    wrote on 13 Jan 2024, 14:47 last edited by
    #1

    Hello.
    I am having a problem deploying app to Raspberry Pi 4 using Qt Creator 12.0.1. I've followed the steps outlined in the following link to configure Qt Creator: https://github.com/MuyePan/CrossCompileQtForRpi

    However, on the final step, when I press "Run," I get the following message in the compile output:

    15:12:16: Cannot deploy: rsync is only supported for transfers between different devices.
    Error while building/deploying project pi-app (kit: PI)
    When executing step "Deploy files" 
    

    I tried transferring the app using rsync in the terminal, and it worked with no issues. Could someone point me in the right direction on what I should check to resolve this error?

    A 1 Reply Last reply 13 Jan 2024, 15:27
    0
    • M mz-dev
      13 Jan 2024, 14:47

      Hello.
      I am having a problem deploying app to Raspberry Pi 4 using Qt Creator 12.0.1. I've followed the steps outlined in the following link to configure Qt Creator: https://github.com/MuyePan/CrossCompileQtForRpi

      However, on the final step, when I press "Run," I get the following message in the compile output:

      15:12:16: Cannot deploy: rsync is only supported for transfers between different devices.
      Error while building/deploying project pi-app (kit: PI)
      When executing step "Deploy files" 
      

      I tried transferring the app using rsync in the terminal, and it worked with no issues. Could someone point me in the right direction on what I should check to resolve this error?

      A Offline
      A Offline
      Axel Spoerl
      Moderators
      wrote on 13 Jan 2024, 15:27 last edited by
      #2

      @mz-dev
      Looks like Creator doesn't know the PI's IP address.
      Have you specified it in the device settings, like here?

      Software Engineer
      The Qt Company, Oslo

      M 1 Reply Last reply 13 Jan 2024, 19:06
      0
      • A Axel Spoerl
        13 Jan 2024, 15:27

        @mz-dev
        Looks like Creator doesn't know the PI's IP address.
        Have you specified it in the device settings, like here?

        M Offline
        M Offline
        mz-dev
        wrote on 13 Jan 2024, 19:06 last edited by
        #3

        @Axel-Spoerl
        The link you provided doesn't open. However, I have specified the IP address.

        I have set the IP address under "Preferences -> Devices."
        9354f8a4-2777-4d3d-ab70-e05f867eb280-image.png

        The test passes successfully.
        8db6a90f-b348-4706-8da0-0f1792d470d6-image.png

        Here is the kit configuration.
        515d2b5b-05be-43ae-b34d-6d471e9903c1-image.png

        Here are the project run settings. At the bottom is the mentioned error.
        0c9aaf43-e9f1-41d1-aeb3-a5951da7014c-image.png

        A 1 Reply Last reply 13 Jan 2024, 19:12
        0
        • M mz-dev
          13 Jan 2024, 19:06

          @Axel-Spoerl
          The link you provided doesn't open. However, I have specified the IP address.

          I have set the IP address under "Preferences -> Devices."
          9354f8a4-2777-4d3d-ab70-e05f867eb280-image.png

          The test passes successfully.
          8db6a90f-b348-4706-8da0-0f1792d470d6-image.png

          Here is the kit configuration.
          515d2b5b-05be-43ae-b34d-6d471e9903c1-image.png

          Here are the project run settings. At the bottom is the mentioned error.
          0c9aaf43-e9f1-41d1-aeb3-a5951da7014c-image.png

          A Offline
          A Offline
          Axel Spoerl
          Moderators
          wrote on 13 Jan 2024, 19:12 last edited by
          #4

          @mz-dev
          How do the deploy steps look like?
          The screenshots only show the run configuration.

          Software Engineer
          The Qt Company, Oslo

          M 1 Reply Last reply 13 Jan 2024, 19:28
          0
          • A Axel Spoerl
            13 Jan 2024, 19:12

            @mz-dev
            How do the deploy steps look like?
            The screenshots only show the run configuration.

            M Offline
            M Offline
            mz-dev
            wrote on 13 Jan 2024, 19:28 last edited by
            #5

            @Axel-Spoerl
            Sorry, do you mean this?
            3c253171-0f99-4926-84fc-ebde00e190f3-image.png

            A 1 Reply Last reply 13 Jan 2024, 19:56
            0
            • M mz-dev
              13 Jan 2024, 19:28

              @Axel-Spoerl
              Sorry, do you mean this?
              3c253171-0f99-4926-84fc-ebde00e190f3-image.png

              A Offline
              A Offline
              Axel Spoerl
              Moderators
              wrote on 13 Jan 2024, 19:56 last edited by
              #6

              @mz-dev
              You have to actually add a deploy step. It looks like that hasn't been done.
              See here.

              Software Engineer
              The Qt Company, Oslo

              M 1 Reply Last reply 14 Jan 2024, 18:30
              0
              • A Axel Spoerl
                13 Jan 2024, 19:56

                @mz-dev
                You have to actually add a deploy step. It looks like that hasn't been done.
                See here.

                M Offline
                M Offline
                mz-dev
                wrote on 14 Jan 2024, 18:30 last edited by
                #7

                @Axel-Spoerl
                I managed to get it working. I utilized the "Override deployment data from build system" option and modified the final step to "Upload files via SFTP" as shown in the image below.
                23713897-5fc0-4d6d-ba9e-6c4bebad1471-image.png

                Now, I have a couple of questions:

                1. What configurations are required to enable the build system to automatically detect the source and target directories?
                2. Is there any documentation available that provides a description of how the deploy files step is utilized? I haven't been able to locate it.
                1 Reply Last reply
                0
                • M mz-dev has marked this topic as solved on 14 Jan 2024, 18:31

                1/7

                13 Jan 2024, 14:47

                • Login

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