9/10/2023 0 Comments Parsec for android![]() However we're on our own to integrate all the exotic parts (Python and Qt). Most obvious way to build an Android application. On top of that, the build process should be customized to allow shipping java code to create the Android Storage Provider. Pyqtdeploy-sysroot: nothing matching 'android_arm64_v8a' could not be found Looking for '/home/touilleman/projects/pyqtdeploy-test/demo/android_arm64_v8a' Looking for '/home/touilleman/Qt/5.14.1/android_arm64_v8a' Looking for '/home/touilleman/projects/pyqtdeploy-test/demo/openssl-1.0.2r.tar.gz'įound '/home/touilleman/projects/pyqtdeploy-test/demo/openssl-1.0.2r.tar.gz' Worst: it doesn't seem to work with recent version of Qt that have changed there folder hierarchy:Įnv ANDROID_NDK_ROOT=$HOME/Android/Sdk/ndk/669/ ANDROID_NDK_PLATFORM=android-21 ANDROID_SDK_ROOT=$HOME/Android/Sdk python3 build-demo.py -verbose -target android-64 -installed-qt-dir $HOME/Qt/5.14.1/ -verbose It should be the perfect fit in theory, however it has a poor documentation ( this blog post was very helpful) and is really not user friendly. PyQtDeploy is designed to allow easy application packing for both desktop (linux, mac, windows) and mobile (android, ios). Parsec is a Python application with multiple native modules, especially Qt for the user interface.ġ - to embed Python interpreter, Python code and Python native modulesĢ - to make the application entry point jump into Python code which in turn should start Qt that would take control of the GUIģ - to declare an Android Storage Provider and plug it to Python Pretty useful example of document provider: The packaging The idea is to declare a document provider into the application, then make the java callbacks call native code (well native code which will endup calling Python code) to do the actual heavy lifting. However the Android API comes with Storage Access Framework Unlike a regular Linux system, Android doesn't expose fuse to applications. Exposing a mountpoint to other application.There is two main issues with porting Parsec to Android:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |