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. Remote Linux compile and deploying to Android?

Remote Linux compile and deploying to Android?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 4 Posters 1.0k 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.
  • K Offline
    K Offline
    krokstr
    wrote on last edited by
    #1

    Hello, I was wondering if it's possible to develop and compile on a remote server(this part is not a problem), and after that deploy on Android device, connected to my working PC. I've searched, but didn't found what I was looking for. Any idea if this is even possible and if so, I would like to get some info how to do it? Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you mean:

      • Build on a distant machine
      • Download the corresponding APK on your local machine
      • Run it on your device

      ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • K Offline
        K Offline
        krokstr
        wrote on last edited by
        #3

        Thanks for the response. And yes, that's exactly what I need. To automate these three steps.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What do you mean by automate ?

          Because the first thing you write about is developing on a remote machine.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • K Offline
            K Offline
            krokstr
            wrote on last edited by
            #5

            I mean doing it in some clever and faster way than build, copy the apk to my PC, then copy and install on my Android . I'm reaching the remote machine with installed Qt by SSH, then I can write and build the program there. But the problem is that I don't know how to redirect the output APK file to my working PC and then deploy it. I don't know if I need to setup something special for Deploy step on the remote machine or something like that ? The idea is to use more powerful machine only for building the application, to save time between every change in the code and building it. Push the Run button on the remote machine's Qt and the app comes up on the phone connected to my PC. That's what I want to do. Thanks!

            1 Reply Last reply
            0
            • KillerSmathK Offline
              KillerSmathK Offline
              KillerSmath
              wrote on last edited by
              #6

              I don't think so QT has a feature like that but have you tried to create a bash code in your server to build and use ssh to transfer the output apk ?

              @Computer Science Student - Brazil
              Web Developer and Researcher
              “Sometimes it’s the people no one imagines anything of who do the things that no one can imagine.” - Alan Turing

              1 Reply Last reply
              0
              • K Offline
                K Offline
                krokstr
                wrote on last edited by
                #7

                I don't think this would help very much, it would only have advantage if I'm gonna move the apk on my own. Maybe if I can connect remote machine's Qt to my local Qt. And the build is done remotely, then the last deploy step is done by my local machine, so I don't have to manually install the apk on the phone.

                1 Reply Last reply
                0
                • sneubertS Offline
                  sneubertS Offline
                  sneubert
                  wrote on last edited by
                  #8

                  You need some CD/CI System like Jenkins

                  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