Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.0 Beta4
-
None
-
Windows 11 21H2 beta
Latest version of qt6 dev branch (74234e3fa48fc8f7454157556a5ea18824b31c17)
Latest vcpkg (ef6c4faec7ebedb902628e58696108b2e9d8573a)
CMake 3.21.2
NDK 23.0.7599858
Description
I'm building on . I did follow all the instructions in this page https://doc-snapshots.qt.io/qt6-dev/android-building.html, and although I could build the Windows version without any problem, I had 3 kinds of problems that I encountered and could subsequently fix on my machine.
The one related to this ticket is that when cross-compiling. perl.exe (or any other required program) is not found although it is in PATH. The reason is that CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH is set to OFF.
I could get over this problem by setting it to true before calling
find_program(HOST_PERL "perl" DOC "Perl binary") in qtbase/cmake/QtSyncQtHelpers.cmake