Results 1 to 2 of 2

Thread: Getting started with Android

  1. #1
    Join Date
    Jul 2017
    Posts
    37
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Getting started with Android

    I need to port my Qt app to Android, but I can't figure out even how to get started. I've installed the SDK and the NDK from the Ubuntu repository, and I'd like to compile anything (even if it's in Java) and run it on an Android simulator, before I tackle a Qt app. The next step, according to http://doc.qt.io/qtcreator/creator-d...g-android.html , is to run
    Qt Code:
    1. ./android update sdk
    To copy to clipboard, switch view to plain text mode 
    The page doesn't say what directory to run it in, or whether I have to be root. There are several files called "android". Where do I run it?

  2. #2
    Join Date
    Jul 2017
    Posts
    37
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Getting started with Android

    I've managed to install Android Studio with the snap package and run a Java program on the emulator. I still don't know:
    *How to install Qt5 on the emulator, or
    *How to tell CMake to cross-compile for Android.

Similar Threads

  1. Replies: 0
    Last Post: 30th May 2015, 09:45
  2. Replies: 4
    Last Post: 10th July 2014, 15:22
  3. Android ARM vs Android x86 in qmake .pro file
    By sedi in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2014, 08:48
  4. How do you make android applications display correctly on android phone?
    By Cyrebo in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 17th August 2013, 07:31
  5. Replies: 5
    Last Post: 19th September 2008, 15:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.