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. [solved] Qt on Android (Necessitas) - working in simulator - how to get it on my phone?
QtWS25 Last Chance

[solved] Qt on Android (Necessitas) - working in simulator - how to get it on my phone?

Scheduled Pinned Locked Moved Mobile and Embedded
9 Posts 7 Posters 6.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.
  • F Offline
    F Offline
    fxtech
    wrote on last edited by
    #1

    I've got Necessitas up and running on a Windows 7 (x64) box and have gotten a basic do-nothing app up in the simulator. Now how do I deploy this thing to my phone? I can't find any documentation to this effect.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      you need either to install local libs (but you should keep in mind that plugins will not work in this way. And yes, QML ones too) or install Ministro on your phone and install apk with your app. Depolying to device is really similar to deploying to emulator.

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        just run as normal in Necessitas Qt Creator, but with the device plugged in. Also, as Denis pointed out, you will need Ministro. Look into packaging inside Qt Creator (Project->Run config, if I remember well), as your device might require API choice other than default.

        At least, that worked on Linux, maybe Windows has some tricks up it's sleeve here :)

        (Z(:^

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fxtech
          wrote on last edited by
          #4

          Ah - silly me! All I had to was Press F5. I was pressing "Run" before and that was launching the simulator. Thanks!

          1 Reply Last reply
          0
          • T Offline
            T Offline
            trusktr
            wrote on last edited by
            #5

            I can't get Qt Creator to deploy to device no matter what I try. It's getting annoying. It always starts the blasted emulator. How in the world do I deploy to devive?

            "adb devices" shows my device and "adb get-state" shows "device". I know it's working because I successfully installed my apk file using "adb install blah.apk".

            But no matter what, it just won't deploy to the device! Any ideas?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jetrix74
              wrote on last edited by
              #6

              I had the same problem and solved it by re-installing java environment...

              1 Reply Last reply
              0
              • U Offline
                U Offline
                utcenter
                wrote on last edited by
                #7

                Hopefully, with Digia being committed to officially supporting Android, we will see better working android toolchain, I myself had mostly negative experiences with Necessitas under windows, I never managed to get anything running on the simulator or deploy to a device, my greatest success was the successful creation of an APK that I manually copy and install on the device.

                Official beta support for Android is expected this spring, hopefully finalized for an Autumn release.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mbnoimi
                  wrote on last edited by
                  #8

                  Do you know anything about running Necessitas over Qt5?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mbnoimi
                    wrote on last edited by
                    #9

                    By the way Digia didn't mention anything about android supporting so I'm wondering Does Necessitas will really merge into Qt project or it will be under KDE supporting?

                    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