[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [pyqtdeploy] Failing at building the demo
From:       umbertofilippo <umbertofilippo () tiscali ! it>
Date:       2024-04-30 19:56:11
Message-ID: e95726a1-fcfa-4171-b0b6-6f9234467b6a () tiscali ! it
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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.
>
>
[Attachment #5 (text/html)]

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>As promised, here is:</p>
    <p>1) the link to the linux release:
      <a class="moz-txt-link-freetext" \
href="https://github.com/umbe1987/memory/releases/tag/v0.1.0">https://github.com/umbe1987/memory/releases/tag/v0.1.0</a><br>
  </p>
    <p>2) Instructions if you need:
      <a class="moz-txt-link-freetext" \
href="https://github.com/umbe1987/memory/blob/main/README.md">https://github.com/umbe1987/memory/blob/main/README.md</a></p>
  <p>3) sysroot.toml and pdt (attached)</p>
    <p><br>
    </p>
    <p>Umberto</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 4/30/24 20:55, Umberto Minora wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1280b13a-79a5-4c8d-bed1-3837ef260643@email.android.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Turns out I am dumb :/
        <div dir="auto"><br>
        </div>
        <div dir="auto">Project built successfully!!!!!!</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I started from scratch.</div>
        <div dir="auto">Checked my sysroot.toml file and made sure I had
          multimedia in pyqt and qt sessions.</div>
        <div dir="auto">Run pyqtdeploy-sysroot to create the sysroot dir
          (with the caveat mentioned here
<a class="moz-txt-link-freetext" \
href="https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ub \
untu-22-04/2">https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ubuntu-22-04/2</a>).
  Took some attempts and a lot of time, as expected.</div>
        <div dir="auto">Created the pdt project. Built with
          pyqtdeploy-build, qmake and make, and voilĂ !</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Everything went so smooth I couldn't believe it
          :)</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">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.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I am thankful to all the feedback I have
          received in this mail thread.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Next step: build for android (wish me luck;)</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">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.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Thanks!!!</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Umberto</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">Il 29 apr 2024 12:21, Umberto Minora
          <a class="moz-txt-link-rfc2396E" \
href="mailto:umbertofilippo@tiscali.it">&lt;umbertofilippo@tiscali.it&gt;</a> ha \
scritto:<br  type="attribution">
          <blockquote class="quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">I am starting to wonder if I did something
              wrong in building the sysroot.
              <br>
              <br>
              So far I have copied the one created for the pyqt-demo (if
              I am not <br>
              mistaken) which I deployed successfully, and avoid
              rebuilding it since <br>
              it was time consuming.
              <br>
              <br>
              But I am wondering if this has caused all my issues. Will
              try to do it <br>
              as soon as I can and report back with my findings.
              <br>
              <br>
              Again, thanks for the feedback.
              <br>
              <br>
              Umberto
              <br>
              <br>
              On 4/26/24 17:30, Charles wrote:
              <br>
              &gt; Actually for certain libraries like libssl, the dev
              version usually <br>
              &gt; provides a static library (.a) which should be fine
              with <br>
              &gt; install_from_source = false, but AFAIK no OS provides
              a static Qt <br>
              &gt; library so Qt needs to be compiled from source.
              <br>
            </p>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>


["sysroot.toml" (text/plain)]

# 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

["memory.pdt" (text/plain)]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic