[PyQt] Android apk file

Kálmán Viktor viktorvector at gmail.com
Sun Apr 14 10:37:05 BST 2019


androiddeployqt has a --release flag (
https://doc.qt.io/qt-5/deployment-android.html) try checking if there is a
call for it somewhere in youd build-demo.py.

Techie Soft <techiesoft at gmx.com> ezt írta (időpont: 2019. ápr. 12., P,
14:08):

> This is what i ran in macOS mojave
>
> *python3 /Users/newuser/Desktop/python-files/build-demo.py --source-dir
> /Users/newuser/Desktop/python-files/sourcefiles/ --installed-qt-dir
> /Users/newuser/Qt5.12.1/5.12.1  --target android-64 --verbose*
>
> below are the env variables
>
>
>
> *ANDROID_NDK_ROOT="/Users/newuser/Library/Android/sdk/ndk-bundle"
> ANDROID_NDK_PLATFORM="android-28"
> ANDROID_SDK_ROOT="/Users/newuser/Library/Android/sdk"*
>
> in source files i have all the files required
>
> *Sent:* Friday, April 12, 2019 at 5:32 PM
> *From:* "José Cordeiro" <cordjr at gmail.com>
> *To:* "Techie Soft" <techiesoft at gmx.com>
> *Cc:* Pyqtdeploy <pyqt at riverbankcomputing.com>, "Phil Thompson" <
> phil at riverbankcomputing.com>
> *Subject:* Re: [PyQt] Android apk file
> Hello,
>    It must be something on your compilations settings can you share what
> you' re doing?.
>
> José Cordeiro de Oliveira junior
> Analista de Sistemas / Desenvolvedor
>
>
> Em sex, 12 de abr de 2019 às 08:06, Techie Soft <techiesoft at gmx.com>
> escreveu:
>
>> Hello,
>>      I tried building .apk file for demo in MacOS and it worked finally
>> however, i got only the .apk file under debug folder is that fine? and .apk
>> file didnt work in android mobile, am i missing something here? shouldn't i
>> get the .apk file in release folder? Kindly reply, anyone reading these
>> mails?
>>
>>
>>
>>
>> *BUILD SUCCESSFUL in 1m 39s 29 actionable tasks: 29 executed Android
>> package built successfully in 107.359 ms.   -- File:
>> /Users/newuser/Desktop/python-files/build-android-64/pyqt-demo//build/o
>>
>>                                     utputs/apk/debug/pyqt-demo-debug.apk*
>>
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190414/710a4bb2/attachment-0001.html>


More information about the PyQt mailing list