[pyqtdeploy] Failing at building the demo

Kaiser Chief kaiser.chiefmail at gmail.com
Wed May 1 08:49:14 BST 2024


Congratulations!

The debugging paid off,

This email thread might actually give us the keys to understand why the
process was painful and how to improve it moving forward.

It looks like some of the issues where bugs inherent to Qt or dependencies
(hard to treat), but some others were configuration issues (easier to
handle).

Wishing you fun on your Android journey now!

Best regards,

KC

On Tue, 30 Apr 2024, 21:56 umbertofilippo, <umbertofilippo at tiscali.it>
wrote:

> As promised, here is:
>
> 1) the link to the linux release:
> https://github.com/umbe1987/memory/releases/tag/v0.1.0
>
> 2) Instructions if you need:
> https://github.com/umbe1987/memory/blob/main/README.md
>
> 3) sysroot.toml and pdt (attached)
>
>
> Umberto
>
>
> On 4/30/24 20:55, Umberto Minora wrote:
>
> Turns out I am dumb :/
>
> Project built successfully!!!!!!
>
> I started from scratch.
> Checked my sysroot.toml file and made sure I had multimedia in pyqt and qt
> sessions.
> Run pyqtdeploy-sysroot to create the sysroot dir (with the caveat
> mentioned here
> https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ubuntu-22-04/2).
> Took some attempts and a lot of time, as expected.
> Created the pdt project. Built with pyqtdeploy-build, qmake and make, and
> voilà!
>
> Everything went so smooth I couldn't believe it :)
>
> The issue I had is I has messed up the steps, configured the sysroot
> improperly and probably I was using the sysroot folder of pyqt-demo.
>
> I am thankful to all the feedback I have received in this mail thread.
>
> Next step: build for android (wish me luck;)
>
> Ah and btw I will attach my sysroot and pdt files asap (typing from my
> phone now). I will also add the Linux executable on my repo as git release
> and link to it if you're curious.
>
> Thanks!!!
>
> Umberto
>
> Il 29 apr 2024 12:21, Umberto Minora <umbertofilippo at tiscali.it>
> <umbertofilippo at tiscali.it> ha scritto:
>
> I am starting to wonder if I did something wrong in building the sysroot.
>
> So far I have copied the one created for the pyqt-demo (if I am not
> mistaken) which I deployed successfully, and avoid rebuilding it since
> it was time consuming.
>
> But I am wondering if this has caused all my issues. Will try to do it
> as soon as I can and report back with my findings.
>
> Again, thanks for the feedback.
>
> Umberto
>
> On 4/26/24 17:30, Charles wrote:
> > Actually for certain libraries like libssl, the dev version usually
> > provides a static library (.a) which should be fine with
> > install_from_source = false, but AFAIK no OS provides a static Qt
> > library so Qt needs to be compiled from source.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240501/3f7eaa01/attachment-0001.htm>


More information about the PyQt mailing list