[PyQt] pyqtdeploy freeze error: cannot find bootlocale.py
Phil Thompson
phil at riverbankcomputing.com
Mon Sep 21 09:38:19 BST 2015
On 21 Sep 2015, at 3:38 am, Bill Eaton <wpeaton4 at gmail.com> wrote:
>
> Thank you for patience in getting my pyqtdeploy set up. I've been reading through the official tutorial and bootchk's tutorial at
> https://plashless.wordpress.com/2014/08/19/using-pyqtdeploy0-5-on-linux-to-cross-compile-a-pyqt-app-for-android/
>
> I'm pretty sure I've either left out a step or I've set up a wrong directory in the locations tab in the GUI.
>
> I downloaded the source for Python 3.4.0 and placed it in
> ~/me/Python-3.4.0
> Then, i followed bootchk's instructions for building Python statically. I skipped the steps for building PyQt5 statically for my target OS (Android), mostly because I couldn't figure out where that information gets used.
>
> $SYSROOT = /home/me/aroot
> Interpreter: python3.4
> Source Directory: /home/me/Python-3.4.0
> Include directory: $SYSROOT/include/python3.4
> Python library: $SYSROOT/lib/libpython3.4
> Standard library directory: $SYSROOT/lib/python3.4
> Build directory: build
> qmake: $SYSROOT/qt-5.5.0/bin/qmake
>
> the last qmake entry is completely bogus. I don't know where the QT Maintenance tool puts all of the Qt files for all the different architectures. But that doesn't matter now because I'm not doing qmake yet.
Which means you haven't built Python yet.
> If I build this configuration from the GUI without qmake or make, it bombs saying it cannot find _bootlocale.py in /home/me/aroot/lib/python3.4/
> And of course, that directory does not exist.
...because you haven't built Python yet.
> I got the idea that pyqtdeploy copies all of the necessary files from Source directory.
>
> Any ideas?
>
> On a separate note, do I need to make a separate installation of Qt5.5 and PyQt5 just for pyqtdeploy? I used Qt Creator to run the most simple example (arrowpad) on my Android phone and that works. So it seems like I should at least be able to use Creator's version of Qt5.5.
Phil
More information about the PyQt
mailing list