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. [BUG POSTED] Qt 5.2.0/Qt 5.2.1: infinite recursion in androiddeployqt
QtWS25 Last Chance

[BUG POSTED] Qt 5.2.0/Qt 5.2.1: infinite recursion in androiddeployqt

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

    I am using Qt5.2.0 under linux.
    I have successfully built an apk previously by compiling under qtcreator and then running:

    ../../android/Qt5.2.0/5.2.0/android_armv7/bin/androiddeployqt --verbose --input android-libdLarn.so-deployment-settings.json --ant ~/android/apache-ant-1.9.3/bin/ant --output android-build

    I recently updated my source code adding two new files. After updating my .pro file and rebuilding in qtcreator, I now get the following failure from androiddeployqt:

    • ...
    • Stripping libraries to minimize size.
    • Copying Android sources from project.
    • -- Skipping file /home/dlarn/dLarn/android/about.cpp. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/about.h. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/about.o. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/android-build/about.cpp. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/android-build/about.h. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/android-build/about.o. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/android-build/android-build/about.cpp. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/android-build/android-build/about.h. Same or newer file already in place.
    • -- Skipping file /home/dlarn/dLarn/android/android-build/android-build/about.o. Same or newer file already in place.

    These error messages continue each time adding a new instance of android-build until it overflows the maximum path length and finally stops. (Note that it keeps checking the same files over and over again, each time with another android-build subdirectory added).

    Any ideas about what I've done to annoy androiddeployqt? (I've tried a complete rebuild of the project from scratch including having qtcreator rerun the .pro file -- no luck).

    Thanks.

    Chris

    P.S. I am able to build a linux version and windows version using the exact same code base. These run successfully. There are no build errors from qtcreator, qmake, make, or VSC++ for any of these builds.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cdonham
      wrote on last edited by
      #2

      I figured out what was going on. For more information, see:

      https://bugreports.qt-project.org/browse/QTBUG-37315

      Chris

      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