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. Qt 5.7.1 and Android
Forum Update on Monday, May 27th 2025

Qt 5.7.1 and Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 875 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.
  • KroMignonK Offline
    KroMignonK Offline
    KroMignon
    wrote on last edited by
    #1

    I have create an Android App which uses Qt5.7.0 and I have switched to Qt5.7.1.

    I have always tested my App in Debug and deployed with Bundle Qt libraries in APK, which is fine in development mode.
    After that, I have build an release version, also with Bundle Qt libraries in APK as deployment strategy.
    All works also.

    Now, the App must be deployed to customers, this APK is about 20MB, so I have choose to switch to Ministro service to download once the Qt stuff and only have to deploy a smaller APK with only the developed stuff (about 1.5MB APK).

    But nothing works!
    First, the native functions registration with JNI_OnLoad() didn't work!
    this works fine when Qt libs in APK!
    I have removed all native functions calls in Java code.

    But then the application try to starts requests Minitros and I've got an error message which tells me that Ministro have to be installed but this is already the case.
    This was the first thing I've done. I have installed Ministro v10.05.

    This is a very time consuming issue...
    I don't understand whats happening.
    It is not really give me trust in the Qt Android deployment strategies.
    Do they really work?

    Why are the native functions registration fails when using Ministro as deployment strategy?
    Is there a way to put all Qt stuff on devices and made it accessible to every App?
    Is there a way to install a full APK and then just put "upgrade APK" which only includes the all non Qt stuff?

    My Android version is 5.1 (Lollipop)

    Thanks for any help

    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

    raven-worxR 1 Reply Last reply
    0
    • KroMignonK KroMignon

      I have create an Android App which uses Qt5.7.0 and I have switched to Qt5.7.1.

      I have always tested my App in Debug and deployed with Bundle Qt libraries in APK, which is fine in development mode.
      After that, I have build an release version, also with Bundle Qt libraries in APK as deployment strategy.
      All works also.

      Now, the App must be deployed to customers, this APK is about 20MB, so I have choose to switch to Ministro service to download once the Qt stuff and only have to deploy a smaller APK with only the developed stuff (about 1.5MB APK).

      But nothing works!
      First, the native functions registration with JNI_OnLoad() didn't work!
      this works fine when Qt libs in APK!
      I have removed all native functions calls in Java code.

      But then the application try to starts requests Minitros and I've got an error message which tells me that Ministro have to be installed but this is already the case.
      This was the first thing I've done. I have installed Ministro v10.05.

      This is a very time consuming issue...
      I don't understand whats happening.
      It is not really give me trust in the Qt Android deployment strategies.
      Do they really work?

      Why are the native functions registration fails when using Ministro as deployment strategy?
      Is there a way to put all Qt stuff on devices and made it accessible to every App?
      Is there a way to install a full APK and then just put "upgrade APK" which only includes the all non Qt stuff?

      My Android version is 5.1 (Lollipop)

      Thanks for any help

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @KroMignon
      no need to double post

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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