1. 28 Oct, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Fix dependency order for XML dependencies · 53261d90
      Eskil Abrahamsen Blomfeldt authored
      
      Although this bug was there in Qt 5.3 as well, something has changed
      in our build system that causes readelf to return libraries in a
      different order than before. In particular, the QtMultimedia dependency
      is now listed before QtQuick if it's listed first in the QT variable in
      the .pro file. This caused the following bug:
      
      When we read the manual dependencies from the XML specification,
      then we assume the dependencies of these are already met (otherwise
      they should not be added). Therefore, we need to load these
      dependencies last, not intermingled with the actual direct
      dependencies of the application.
      
      What would happen is that Qt5Multimedia came before Qt5Quick, and
      triggered adding Qt5MultimediaQuick_p before Qt5Quick. This of course
      depends on Qt5Quick so it needs to be added after it (which is why
      it is only added if the application itself depends on Qt Quick).
      
      Change-Id: Ifa97d85645cff49ebf65d4ce3fc2101506346695
      Task-number: QTBUG-42012
      Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
      Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
      53261d90
  2. 08 Oct, 2014 - 1 commit
  3. 25 Sep, 2014 - 1 commit
  4. 22 Sep, 2014 - 2 commits
  5. 09 Sep, 2014 - 1 commit
  6. 18 Aug, 2014 - 1 commit
  7. 07 Aug, 2014 - 1 commit
  8. 06 Aug, 2014 - 1 commit
  9. 04 Aug, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: qmlimportscanner support · c689738f
      Eskil Abrahamsen Blomfeldt authored
      
      Enables qmlimportscanner support in the deployment tool. Will
      use the root path set by qmake to determine dependencies, which
      by default will be the location of the project's .pro file.
      
      Other effects: This removes the requirement to add QT += foobar
      to enable using imports from the module QtFooBar, and it also
      enables adding custom QML imports.
      
      [ChangeLog][Android][androiddeployqt] Added support for using
      qmlimportscanner to detect QML import dependencies of application.
      
      Task-number: QTBUG-34175
      Change-Id: I5af5964f9e453121eeff8b442f0c5e72676b1fbe
      Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
      c689738f
  10. 31 Jul, 2014 - 2 commits
    • BogDan Vatra's avatar
      Android: fix zipAlign location. · b11dcfb0
      BogDan Vatra authored
      
      Stating with android tools v23, the zipAlign tool was moved from
      <android_sdk>/tools to <android_sdk>/build-tools/<build_tools_version>.
      
      Task-number:QTBUG-40481
      Change-Id: Id9207b6e382b0e79522d9fc529453ccd39aebe0d
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
      b11dcfb0
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Force Qt Gui dependency for all apps · 73e4f959
      Eskil Abrahamsen Blomfeldt authored
      
      Currently, the only way to launch an Android application is through
      the platform plugin, which of course depends on Qt Gui. This causes
      problems running corelib autotests, since they have QT = core in
      the .pro file and thus will not deploy or load the platform plugin.
      
      At some point, we may have a way to launch pure corelib-applications
      on Android (like services), but until then, we need to hardcore the
      dependency on Qt Gui to make sure these autotests run properly.
      
      Change-Id: Ica794af972a06ec021c1fa28333866296eab96e0
      Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
      73e4f959
  11. 22 Jul, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Refactor findFilesRecursively() · 79d69835
      Eskil Abrahamsen Blomfeldt authored
      
      Currently, androiddeployqt expects all the detected dependencies
      to reside inside the Qt installation directory. Once we add support
      for the qmlimportscanner, however, they can reside in any of
      the qml import paths. The refactoring prepares the code for this,
      separating the relative path (the path of the file when it is
      installed on the device) and the absolute path (the source file).
      
      Task-number: QTBUG-34175
      Change-Id: I5173034a02e29f88f8ca6f2b61c0caea6ba71778
      Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
      79d69835
  12. 19 May, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Add option to reinstall apk · 3f24e2cc
      Eskil Abrahamsen Blomfeldt authored
      
      Mainly for consistency with the old deployment method in Qt Creator,
      androiddeployqt will uninstall any previously installed instances
      of the application before installing it. This will remove any caches
      or user data stored by the application. In many cases (most) it
      would be more convenient to just overwrite the existing instance,
      but keep all caches intact. This patch adds the --reinstall option,
      symmetrical to --install. If enabled, the uninstall step will be
      skipped.
      
      [ChangeLog][androiddeployqt] Added option to install an APK without
      uninstalling previous instances of same application.
      
      Task-number: QTBUG-35845
      Change-Id: I93bed4fefda6ed5295f333002a4958654b3f911c
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
      3f24e2cc
  13. 14 May, 2014 - 2 commits
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: REG: Fix running tools with spaces in path · 16ee0c0f
      Eskil Abrahamsen Blomfeldt authored
      
      The popen() function on Windows executes the command using /s,
      probably for legacy reasons, which causes the behavior that it
      removes the first and last quotes in the command line and otherwise
      preserves it perfectly. This causes strings in which both
      the executable name and at least one argument has to be quoted, to
      be unparsable by the shell once it has been processed. To work around
      this we wrap the string in quotes on Windows.
      
      Since we added quotes to arguments for the jarsigner command in Qt 5.3.0
      we introduced a regression that made it impossible to sign APKs on Windows.
      
      Task-number: QTBUG-38962
      Change-Id: I2b618e1996753645766d25ca06b14e1985d7eacd
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
      v5.3.0
      16ee0c0f
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Remove warning about missing dependency · d704d72a
      Eskil Abrahamsen Blomfeldt authored
      
      In 08672adb97c0707c513850a27aaec59327874260 in qtbase, the
      MODULE_PLUGIN_TYPES of QtGui was expanded to contain some
      more plugin types which are not built on Android, causing
      warnings during every deployment. Since MODULE_PLUGIN_TYPES
      is common to all platforms we should just ignore it if it
      specifies plugins that do not exist.
      
      [ChangeLog][androiddeployqt] Remove warning about missing
      dependency.
      
      Task-number: QTBUG-38651
      Change-Id: I57a2c1d79b859981b3adf2772be4f0cd8a98be12
      Reviewed-by: default avatarCaroline Chao <caroline.chao@digia.com>
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
      d704d72a
  14. 08 May, 2014 - 1 commit
    • Aleix Pol's avatar
      Extend androiddeployqt features · 06eccf2a
      Aleix Pol authored
      
      Makes it possible to specify a set of runtime dependencies to be bundled
      with the application to be used afterwards.
      To do so, adds a new entry in the json file named "android-extra-plugins"
      that will specify those dependencies in a list.
      It will put the text files within the assets directory and the libraries
      and plugins in the architecture's directory in libs/.
      
      Change-Id: I2aaa4886252743bd333d8d18404fd41e85bbd8b5
      Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
      06eccf2a
  15. 05 May, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Support bundling library projects · 5d2ffacd
      Eskil Abrahamsen Blomfeldt authored
      
      Third party library projects can easily be added to the Android
      package source directory and added to the project using
      project.properties, but "android update" needs to be run on it
      to produce some local build files before it can be included in the
      build. We can do this for people so that they can use third party
      library projects without having to put build files in their source
      directory.
      
      [ChangeLog][Android][Deployment] Detect linked library projects
      in the package source directory and automatically run "android update"
      on these.
      
      Task-number: QTBUG-38322
      Change-Id: I0bf9b8708a7ec28ed5429379215b12a65d05416a
      Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
      5d2ffacd
  16. 28 Apr, 2014 - 1 commit
  17. 14 Apr, 2014 - 1 commit
  18. 18 Mar, 2014 - 1 commit
  19. 27 Feb, 2014 - 1 commit
  20. 21 Feb, 2014 - 2 commits
  21. 30 Jan, 2014 - 5 commits
  22. 28 Jan, 2014 - 1 commit
  23. 24 Jan, 2014 - 1 commit
  24. 15 Jan, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Always overwrite user files · f3d5c698
      Eskil Abrahamsen Blomfeldt authored
      
      The Android files in the project should always overwrite the
      equivalents in the template, even if the template files have
      been modified after the project files. Otherwise an old project
      could stop working when Qt was updated.
      
      Task-number: QTBUG-35147
      [ChangeLog][Android][QTBUG-35147] Make sure Android files in the
      project always overwrite the equivalent files in the project
      template.
      
      Change-Id: I4c38061501cbcaa1061e376e7b49a1a0efe596cf
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
      f3d5c698
  25. 02 Jan, 2014 - 2 commits
  26. 23 Dec, 2013 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Speed up debug deployment · 856ba53f
      Eskil Abrahamsen Blomfeldt authored
      
      Debug deployment had a major flaw which made it slower than
      just bundling the libraries. For every deployment it would
      recursively extract the timestamp of all files from the
      remote tmp/ directory. This took about 20 seconds.
      
      I've made some improvements:
      1. Just use a single modification.txt file which is updated for every
      deployment and only update Qt files that have changed since the last
      deployment.
      
      2. Deploy all Qt files in debug deployment instead of just the
      dependencies of the app, to make it possible to add dependencies to
      the app at a later time without clearing the remote cache.
      
      3. Instead of doing an adb push call for each file, we now just do one
      big push after building the local temporary directory.
      
      4. I added a timing mechanism to make it simpler to debug problems
      related to this.
      
      Task-number: QTBUG-35401
      [ChangeLog][androiddeployqt][QTBUG-35401] Speed up debug deployment.
      
      Change-Id: Ida94c73fc48a0a627203398a86732a94baff1451
      Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
      Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
      856ba53f
  27. 04 Dec, 2013 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      androiddeployqt: Add OpenGL dependency to manifest if necessary · 1e71b35d
      Eskil Abrahamsen Blomfeldt authored
      
      In order to filter out devices that do not support OpenGLES 2 in
      Google Play, we need to report that we depend on it when using
      Qt Quick or Qt OpenGL. It would have been more generic to add the
      information to the meta-data in the module, but since we already
      have the information there, just in the form of forcing the
      use of the GL plugin, we might as well use that and not complicate
      the dependency XMLs any further.
      
      Task-number: QTBUG-32491
      Change-Id: I2af044be010fcd0a8076906de6385701041b9c01
      Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
      1e71b35d
  28. 13 Nov, 2013 - 2 commits
  29. 08 Nov, 2013 - 1 commit
  30. 04 Nov, 2013 - 1 commit