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. Running QT code on Android Studio
Qt 6.11 is out! See what's new in the release blog

Running QT code on Android Studio

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 338 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
    karman_android_dev
    wrote on last edited by
    #1

    I'm developing an Android app for local machine translation. There's basically a desktop version for the same (translateLocally) that contains Qt code. My main aim is to embed the code this uses as a library into android studio so that I can use some functionalities present in it.

    To begin with, I created a simple "hello world" qt code and tried running it in android studio in order to see if qt code actually runs before embedding the entire translateLocally library, but haven't been successful.

    If someone would guide me through a step-by-step process of how I can actually run the qt code would be much appreciated.

    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mvuori
      wrote on last edited by
      #2

      Apparently nobody knows about this, and neither do I. AFIK, Android Studio is badly equipped for Qt development. Yes, it can include C++ code, but you need to figure out how to call it from Java.

      And Qt, being a platform and not just a collection of functions. needs a way to initialize its shared library (which you need to include besides functions that call Qt functions). And any QML would be another issue altogether...

      Perhaps people have done this and Googling about it gives guidance...

      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