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. Can I create android application with C++ and Qt interface? I have written a software in c++ and qt interface for desktop..but know I want to launch i
Forum Updated to NodeBB v4.3 + New Features

Can I create android application with C++ and Qt interface? I have written a software in c++ and qt interface for desktop..but know I want to launch i

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 1.5k 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.
  • O Offline
    O Offline
    optimusprime
    wrote on last edited by
    #1

    If so, then please let me know..and how far it can be possible..

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Radium1988
      wrote on last edited by
      #2

      Simple answer: Yes you can!

      Details:
      I'm a Qt newbie myself, but as far as I know, your main work in porting your app to Android involves optimizing the GUI for the smaller screen of Android devices.

      You can test run your app on an Android Virtual Device,
      Or better yet, connect your phone via USB and you're ready to go (recommended, this is the more stable option. AVD sometimes fails)

      1 Reply Last reply
      0
      • O Offline
        O Offline
        optimusprime
        wrote on last edited by
        #3

        Thanks..Do i need to install any extra library?or it will work with qt creator and android sdk?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Radium1988
          wrote on last edited by
          #4

          Open preferences, go to android configuration window, and set the path for these:

          • Android SDK (with build tools installed. install the whole ADT bundle just to be sure)
          • Android NDK
          • Apache Ant

          After that, you will be able to run and compile ANY Qt program for Android.

          BTW: don't forget to install Android version of Qt:
          Go to here: http://qt-project.org/downloads
          Click "Show Downloads", then download the suitable version for your platform.

          1 Reply Last reply
          0
          • O Offline
            O Offline
            optimusprime
            wrote on last edited by
            #5

            thnks..I will try tonight

            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