Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111934

Allow deployment of cmdline only projects on Android

XMLWordPrintable

    • 147e6281c (dev), a9c8870b5 (dev), 6e09b6481 (6.4), bb01e0bc0 (6.5), 47e5e4c9f (tqtc/lts-6.2), 2b966fe7a (tqtc/lts-5.15), 92746da86 (6.4), d670ce853 (6.5), 5d2c0991e (tqtc/lts-5.15), da273fed3 (tqtc/lts-6.2)

      Some users might want to develop Qt projects that target Android without any Gui elements, atm this is not possible neither by the Qt for Android plugin nor by the tooling side (i.e. Qt Creator).

      This is not possible because of few reasons:

      • Qt Android plugin does a bunch of Gui related stuff and thus require Gui dependency
      • the same plugin and other Qt Core parts might do some JNI calls which are not necessarily available when running a Qt executable from Android as a cmdline exec.
      • Qt Creator supports only androiddeployqt deployments which use Gradle to make an apk which is meant for app with a Gui

      So to start supporting a non-Gui cmdline only Qt for Android deployment we need to fix the set of limitations mentioned above.

        1. image-2025-04-29-15-27-53-946.png
          70 kB
          Janne Juntunen
        2. image-2025-04-29-15-28-43-228.png
          11 kB
          Janne Juntunen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtandroidteam Qt Android Team
            assam Assam Boudjelthia
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: