[PyQt] pyqtdeploy building demo problem with NDK
Kálmán Viktor
viktorvector at gmail.com
Fri Aug 3 07:55:36 BST 2018
I'm fairly certain pyqtdeploy installed via pip doesn't support Python 3.7
and 3.6.5, it's latest supported Python is 3.6.4.
Also you really don't need to compile Qt yourself, just download their
online installer, install the Android version and set it as qt_dir.
2018-08-03 7:04 GMT+02:00 Ronald Petit <elronaldpetit at gmail.com>:
> Okay Phil, I'm still here, sorry if I'm bothering too much, but as more as
> I read, seems like pyqtdeploy is my only option to convert PyQt5 into Qt
> C++ code.
>
> Now, I setup sysroot.json to use my existing Qt installation, then, It was
> complaining about Python, as I tried to use Python-3.7.0.tar.xz, and got
> the same error as on Qt because it is an xz, however, I downloaded
> Python-3.7.0.tgz, the pyqtdeploy was able to extract that one (Still not
> too much clues about why Python cannot extract .xz files, the error message
> was "Unknown file format", I built my own Python (Python 3.7.0), so I'm
> thinkking I did something wrong there.
>
> Now the pyqtdeploy is complaining when building Python, it says:
>
> Python/sysmodule.c: In function ‘_PySys_BeginInit’:
> Python/sysmodule.c:2303:60: error: ‘_PYTHONFRAMEWORK’ undeclared (first
> use in this function)
> SET_SYS_FROM_STRING("_framework", PyUnicode_FromString(_
> PYTHONFRAMEWORK));
>
> Then a bunch of notes and the final error of make returning non-zero exit
> status. No clue about this on google, any other hint?
>
> And I really appreciate your time Phil, thank you
>
>
> El jue., 2 ago. 2018 a las 10:50, Phil Thompson (<
> phil at riverbankcomputing.com>) escribió:
>
>> On 2 Aug 2018, at 3:34 pm, Ronald Petit <elronaldpetit at gmail.com> wrote:
>> >
>> > I'm seeing on the pyqtdeploy plugin that there's a "qt_dir" option to
>> use an existing qt installation, I can just build the fresh Qt and then use
>> that, I think is easier, but I think build-demo.py doesn't support qt_dir,
>> or this qt_dir is an environmental variable?
>>
>> Look in the demo's sysroot.json file.
>>
>> Phil
>
>
> _______________________________________________
> 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/20180803/4f4aad89/attachment.html>
More information about the PyQt
mailing list