Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deploy on remote windows/android device
Forum Updated to NodeBB v4.3 + New Features

Deploy on remote windows/android device

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 3 Posters 1.1k 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.
  • JobRecrdJ Offline
    JobRecrdJ Offline
    JobRecrd
    wrote on last edited by
    #1

    The documentation shows how to do this for Linux and QNX, is there such a possibility on Windows and Android?

    jsulmJ 1 Reply Last reply
    0
    • JobRecrdJ JobRecrd

      @jsulm
      I do not quite understand how to do this. Do I need to use Debug > Start Debugging > Attach to Running Debug Server?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #8

      @JobRecrd said in Deploy on remote windows/android device:

      Do I need to use Debug > Start Debugging > Attach to Running Debug Server?

      This is for debugging, not deploying.
      You would first need to deploy it to the remote machine.
      I'm not sure QtCreator supports deployment to a Windows machine.
      If you go to "Options/Devices/Devices" you can only add Linux QNX devices, no Windows.
      You should be able to add a deployment step in your pro file (but can't tell you exactly how).
      Or you create a package using windeployqt, copy it manually to the remote machine and start it there.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • JobRecrdJ JobRecrd

        The documentation shows how to do this for Linux and QNX, is there such a possibility on Windows and Android?

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @JobRecrd Can you be more specific?

        For android QtCreator should already create an apk package to deploy it to the device (it should even deploy to connected device).

        For Windows see: https://doc.qt.io/qt-5/windows-deployment.html

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        JobRecrdJ 1 Reply Last reply
        0
        • jsulmJ jsulm

          @JobRecrd Can you be more specific?

          For android QtCreator should already create an apk package to deploy it to the device (it should even deploy to connected device).

          For Windows see: https://doc.qt.io/qt-5/windows-deployment.html

          JobRecrdJ Offline
          JobRecrdJ Offline
          JobRecrd
          wrote on last edited by
          #3

          @jsulm
          Do I understand correctly that this will work on a remote device?

          jsulmJ 1 Reply Last reply
          0
          • JobRecrdJ JobRecrd

            @jsulm
            Do I understand correctly that this will work on a remote device?

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @JobRecrd What is your use case? Can you please explain what you want to do?
            For Windows you can create a package (as explained in the link) containing your app and all needed Qt stuff and upload this package to your remote device and use it there.

            But you did not say anything about this remote device! What is it? What OS is there? How do you access it?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            JobRecrdJ 1 Reply Last reply
            0
            • jsulmJ jsulm

              @JobRecrd What is your use case? Can you please explain what you want to do?
              For Windows you can create a package (as explained in the link) containing your app and all needed Qt stuff and upload this package to your remote device and use it there.

              But you did not say anything about this remote device! What is it? What OS is there? How do you access it?

              JobRecrdJ Offline
              JobRecrdJ Offline
              JobRecrd
              wrote on last edited by
              #5

              @jsulm
              I need to deploy the application to a remote Windows machine for testing.

              jsulmJ 1 Reply Last reply
              0
              • JobRecrdJ JobRecrd

                @jsulm
                I need to deploy the application to a remote Windows machine for testing.

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @JobRecrd Then do it. What is the problem?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                JobRecrdJ 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @JobRecrd Then do it. What is the problem?

                  JobRecrdJ Offline
                  JobRecrdJ Offline
                  JobRecrd
                  wrote on last edited by
                  #7

                  @jsulm
                  I do not quite understand how to do this. Do I need to use Debug > Start Debugging > Attach to Running Debug Server?

                  jsulmJ 1 Reply Last reply
                  0
                  • JobRecrdJ JobRecrd

                    @jsulm
                    I do not quite understand how to do this. Do I need to use Debug > Start Debugging > Attach to Running Debug Server?

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    @JobRecrd said in Deploy on remote windows/android device:

                    Do I need to use Debug > Start Debugging > Attach to Running Debug Server?

                    This is for debugging, not deploying.
                    You would first need to deploy it to the remote machine.
                    I'm not sure QtCreator supports deployment to a Windows machine.
                    If you go to "Options/Devices/Devices" you can only add Linux QNX devices, no Windows.
                    You should be able to add a deployment step in your pro file (but can't tell you exactly how).
                    Or you create a package using windeployqt, copy it manually to the remote machine and start it there.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • A Offline
                      A Offline
                      ArturSp
                      wrote on last edited by
                      #9

                      I think what he is trying to do is to start a remote debug session on a different windows machine. He means by deploying:

                      1. Copy newly compiled outputs to remote (Win machine)
                      2. Start a debug session on remote, which is controlled from local machine

                      This should be possible by following this guide : https://doc.qt.io/qtcreator/creator-debugger-operating-modes.html - header Remote Debugging

                      Unfortunately I could not start a full functional debug session with this guide. Is there somebody who could share how to configure it successfully?

                      1 Reply Last reply
                      0

                      • Login

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