[pyqtdeploy] Failing at building the demo

umbertofilippo umbertofilippo at tiscali.it
Tue Apr 30 20:56:11 BST 2024


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> 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/20240430/71a8a499/attachment.htm>
-------------- next part --------------
# The sysroot for the demo application.


# OpenSSL #####################################################################

#[OpenSSL]
#version = "1.1.1m"
#disabled_targets = ["ios"]

#[OpenSSL.linux]
#version = ""
#install_from_source = false


# Python ######################################################################

[Python]
version = "3.11.0"
install_host_from_source = true

[Python.win]
install_host_from_source = false


# PyQt ########################################################################

[PyQt]
version = "5.15.7"

[PyQt.android]
disabled_features = ["PyQt_Desktop_OpenGL", "PyQt_Printer"]
installed_modules = ["QtCore", "QtGui", "QtNetwork", "QtWidgets", "QtMultimedia",
        "QtAndroidExtras"]

[PyQt.ios]
disabled_features = ["PyQt_Desktop_OpenGL", "PyQt_MacOSXOnly",
        "PyQt_MacCocoaViewContainer", "PyQt_Printer", "PyQt_Process",
        "PyQt_NotBootstrapped"]
installed_modules = ["QtCore", "QtGui", "QtNetwork", "QtWidgets", "QtMultimedia",
        "QtMacExtras"]

[PyQt.linux]
installed_modules = ["QtCore", "QtGui", "QtNetwork", "QtWidgets", "QtMultimedia",
        "QtX11Extras"]

[PyQt.macos]
installed_modules = ["QtCore", "QtGui", "QtNetwork", "QtWidgets", "QtMultimedia",
        "QtMacExtras"]

[PyQt.win]
disabled_features = ["PyQt_Desktop_OpenGL"]
installed_modules = ["QtCore", "QtGui", "QtNetwork", "QtWidgets", "QtMultimedia",
        "QtWinExtras"]


# PyQt3D ######################################################################

#[PyQt3D]
#version = "5.15.5"


# PyQtChart ###################################################################

#[PyQtChart]
#version = "5.15.6"


# PyQtDataVisualization #######################################################

#[PyQtDataVisualization]
#version = "5.15.5"


# PyQtNetworkAuth #############################################################

#[PyQtNetworkAuth]
#version = "5.15.5"


# PyQtPurchasing ##############################################################

#[PyQtPurchasing]
#version = "5.15.5"


# QScintilla ##################################################################

#[QScintilla]
#version = "2.13.3"


# Qt ##########################################################################

[Qt]
version = "5.15.2"
edition = "opensource"
configure_options = ["-opengl", "desktop", "-no-dbus", "-qt-pcre"]
skip = ["qtactiveqt", "qtconnectivity", "qtdoc", "qtgamepad", "qtlocation",
        "qtquickcontrols", "qtquickcontrols2",
        "qtremoteobjects", "qtscript", "qtscxml", "qtsensors", "qtserialbus",
        "qtserialport", "qtspeech", "qtsvg", "qttools", "qttranslations",
        "qtwayland", "qtwebchannel", "qtwebengine", "qtwebsockets",
        "qtwebview", "qtxmlpatterns"]

[Qt.android]
install_from_source = false
ssl = "openssl-linked"

[Qt.ios]
install_from_source = false
ssl = "securetransport"

[Qt.linux]
ssl = "openssl-runtime"

[Qt.macos]
ssl = "openssl-linked"

[Qt.win]
ssl = "openssl-linked"
static_msvc_runtime = true


# SIP #########################################################################

[SIP]
abi_major_version = 12
module_name = "PyQt5.sip"


# zlib ########################################################################

[zlib]
install_from_source = false

[zlib.win]
version = "1.2.13"
install_from_source = true
static_msvc_runtime = true
-------------- next part --------------
version = 0
sysroot = ""
sysroots_dir = ""
parts = [ "Python:random", "PyQt:PyQt5.QtWidgets", "Python:glob", "Python:os", "PyQt:PyQt5.QtCore", "PyQt:PyQt5.QtGui", "SIP:PyQt5.sip", "PyQt:PyQt5", "PyQt:PyQt5.QtMultimedia",]

[Application]
entry_point = ""
is_console = false
is_bundle = false
name = ""
qmake_configuration = ""
script = "memory.py"
syspath = ""

[Application.Package]
name = "data"
exclude = [ "*.pyc", "*.pyd", "*.pyo", "*.pyx", "*.pxi", "__pycache__", "*-info", "EGG_INFO", "*.so",]
[[Application.Package.Content]]
name = "back.jpg"
included = true
is_directory = false

[[Application.Package.Content]]
name = "img"
included = true
is_directory = true
[[Application.Package.Content.Content]]
name = "analisiapprofondita.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "cagnaccioselvaggio.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "diamanteocchidileone.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "lameraviglia.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "leggedelpiuforte.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "lucertolacrogiolante.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "ricercaossessiva.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "ruggitodelwurm.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "studioaccurato.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "Tropicalisland.jpg"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "wurmarrogante.jpg"
included = true
is_directory = false


[[Application.Package.Content]]
name = "sound"
included = true
is_directory = true
[[Application.Package.Content.Content]]
name = "end.wav"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "fail.wav"
included = true
is_directory = false

[[Application.Package.Content.Content]]
name = "success.wav"
included = true
is_directory = false




More information about the PyQt mailing list