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

Deploying Qt application to Android device is really slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.2
    • 5.12.9, 5.15.0, 5.15.1
    • None
    • Qt Creator 4.8.2
      Qt SDK 5.12.2

    Description

      Using Qt Creator to run a Qt application on an Android device is very slow: on a recent MacBook Pro, androiddeployqt takes about 20 seconds for an empty Qt Quick application, and for our pretty small app with a bit of QML and some external libraries it takes up to a minute, even if there were no changes to the project. This really affects development and debugging speed.

      For comparison, deploying an empty Android project with native code using Android Studio only takes about 3 seconds.

      If possible, androiddeployqt should be smarter about the work being done and e.g. skip anything that hasn’t changed. Generating the final APK should be done by only exchanging modified resources in the APK instead of packaging all components each time.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-86674
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              fseiffert Frederik Seiffert
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes