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

androiddeployqt cannot have --output in source directorr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.2.1
    • QPA
    • None
    • Android

      (My apologies if I did not file this against the right component).

      If you run androiddeployqt with --output in the same directory as the source, the program enters an infinite loop. In main.cpp, copyFiles(), it is trying to copy the entire source codebase into the destination directory. If the destination directory is a subdirectory within the code base, this results in an infinite loop where the code iterates down the destination itself trying to continually install.

      Note that to view the bug, you must have a source file that appears alphabetically before the destination directory. For example, I used the destination directory "android-build". The bug did not manifest itself until I had a source file called "about.cpp" which appears prior to the destination directory in a alphabetic listing.

      Minimum example of bug:
      1) create a file called "about.cpp" that has a minimal qt program. Compile with qtcreator.
      2) run make install with INSTALL_ROOT=./android-build
      3) run androiddeployqt with --output ./android-build

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rampe Rami Potinkara
            cdonham Christopher Donham
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes