- requires Linux or WSL
- Install Qt: wget https://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
chmod +x qt-unified-linux-x64-online.run./qt-unified-linux-x64-online.run- to
$HOMEor/opt
- Fix missing
qaudio_wrapper.cpp:- in
../pyside-setup/sources/pyside6/PySide6/QtMultimedia/CMakesLists.txtremove line withqaudio_wrapper.cppfor it is no longer used
- in
- Follow to build: https://doc.qt.io/qtforpython-6/deployment/deployment-pyside6-android-deploy.html#cross-compile-android
- if
echo $PYTHONPATHshows global path instead of the path to the venv, useunset PYTHONPATH - install additional dependencies like
GitPython,Jinja2andtqdm - change
PySideHelpers.cmakeand addWebViewto the optional modules for on Android it does not rely on theWebEngineCore - Wrap around
Macros/PySideModules.cmakeif(${module_DEPS})closure withif (NOT module_NAME STREQUAL "QtWebView") - compile for
aarch64,armv7a,x86_64,i686 - if global python version is not picked up properly, remove
/usr/bin/python3and create new symlink to fitting python versionsudo ln -s /usr/bin/python3.11 /usr/bin/python3
- if