Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.2.1
-
None
Description
(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