Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.2
-
None
Description
Hello,
I need to comment out these lines inside qt6/qtbase/cmake/QtPkgConfigHelpers.cmake:
# if((NOT UNIX OR QT_FEATURE_framework) # AND NOT MINGW OR CMAKE_VERSION VERSION_LESS "3.20" OR ANDROID) # return() # endif()
so that the pkg-config files are generated correctly on Windows and when cross-compiling for Android.
On Android, the generated pkg-config files do not contain the library suffix _arm64-v8a or _armeabi-v7a, so I have to:
files=os.listdir(".") [shutil.copy(f, f.replace("_arm64-v8a","")) for f in files if "_arm64-v8a" in f]
inside my lib folder.
Liza