Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Build .apk without Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

Build .apk without Qt Creator?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 508 Views 2 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.
  • A Offline
    A Offline
    adddeeee
    wrote on last edited by
    #1

    Hello!

    I have a project where I would like my server to be able to build a .apk file whenever I push changes to it. Do I need to have Qt Creator installed on my server, or is it possible to build the .apk without Qt Creator?

    Thanks!

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

      Hi,

      Qt Creator is not needed. You need the same Android tools as on your machine and that should suffice.

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

      A 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Qt Creator is not needed. You need the same Android tools as on your machine and that should suffice.

        A Offline
        A Offline
        adddeeee
        wrote on last edited by
        #3

        @SGaist

        Yes, I would also believe I just need to run the correct scripts.

        However, it seems as if this is not commonly done.

        How are people building their runnables for different environments? This must be automised in the CI?

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

          You have to check with the CI system you are using. They might already provide some walkthrough or maybe even some infrastructure for that.

          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
          0
          • A Offline
            A Offline
            adddeeee
            wrote on last edited by
            #5

            Well, currently I don't have a CI. This is just a hobby project.

            I'm just interested in learning how it's done.

            I found some info regarding androiddeployqt which is probably a step in the right direction.

            If I manage to build and apk manually using androiddeployqt I could after that create a script for it.

            Is androiddeployqt the right way to start?

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

              Yes it is. That's what Qt Creator uses.

              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
              0

              • Login

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