<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>ah, just to clarify one (major) point.</p>
    <p>What I am sharing in github is "just" the application file I see
      in the build-linux-64 directory (called "memory").</p>
    <p>Is it correct or should I share the whole folder instead?</p>
    <p>Umberto<br>
    </p>
    <div class="moz-cite-prefix">On 5/2/24 17:58, Umberto Minora wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a55733b3-62da-4630-9093-df72b5e0df85@tiscali.it">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Thank you KC! :)</p>
      <p>Actually, a friend of mine told me he had to install something
        to make it run.</p>
      <p>So I tried to download the executable from a linux machine
        different from the one I used for the deployment, and found out
        I still have to solve one issue.</p>
      <p>You can find it here: <a class="moz-txt-link-freetext"
          href="https://github.com/umbe1987/memory/releases/tag/v0.1.0"
          moz-do-not-send="true">https://github.com/umbe1987/memory/releases/tag/v0.1.0</a>
        (it's the file called "memory" with no extension).<br>
      </p>
      <p>The error I receive when trying to launch the game from the
        terminal is:</p>
      <p>```</p>
      <p>./memory: error while loading shared libraries:
        libQt5Multimedia.so.5: cannot open shared object file: No such
        file or directory<br>
      </p>
      <p>```<br>
      </p>
      <p>So, I think I might have made a mistake somewhere in the
        deployment process, because what I wanted in the end was a
        single executable file where all the needed libraries are
        bundled. Is this possible? If not, how should I ship the final
        product so that the users will be able to get and have it
        working without installing anything else?</p>
      <p>If I need to attach anything please let me know, I have already
        attached my sysroot.toml and the ptd in the previous message.</p>
      <p>Thank you and hopefully I will be able to close this thread
        once and for all anytime soon :)</p>
      <p>Umberto<br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">On 5/1/24 09:49, Kaiser Chief wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CALxTkTncuAFsi8Tq8D5evp8CRvhw9LAZ2xL7tKkA=MwpfQy2mQ@mail.gmail.com">
        <meta http-equiv="content-type"
          content="text/html; charset=UTF-8">
        <div dir="auto">Congratulations!
          <div dir="auto"><br>
          </div>
          <div dir="auto">The debugging paid off, </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">This email thread might actually give us the
            keys to understand why the process was painful and how to
            improve it moving forward.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">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). <br>
            <div dir="auto"><br>
            </div>
            <div dir="auto">Wishing you fun on your Android journey
              now! </div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">Best regards, </div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">KC</div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, 30 Apr 2024, 21:56
            umbertofilippo, <<a
              href="mailto:umbertofilippo@tiscali.it"
              moz-do-not-send="true" class="moz-txt-link-freetext">umbertofilippo@tiscali.it</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <p>As promised, here is:</p>
              <p>1) the link to the linux release: <a
href="https://github.com/umbe1987/memory/releases/tag/v0.1.0"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/umbe1987/memory/releases/tag/v0.1.0</a><br>
              </p>
              <p>2) Instructions if you need: <a
href="https://github.com/umbe1987/memory/blob/main/README.md"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true" class="moz-txt-link-freetext">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>On 4/30/24 20:55, Umberto Minora wrote:<br>
              </div>
              <blockquote type="cite">
                <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
href="https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ubuntu-22-04/2"
                      target="_blank" rel="noreferrer"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">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 href="mailto:umbertofilippo@tiscali.it"
                      target="_blank" rel="noreferrer"
                      moz-do-not-send="true"><umbertofilippo@tiscali.it></a>
                    ha scritto:<br type="attribution">
                    <blockquote
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>
                        > Actually for certain libraries like libssl,
                        the dev version usually <br>
                        > provides a static library (.a) which should
                        be fine with <br>
                        > install_from_source = false, but AFAIK no
                        OS provides a static Qt <br>
                        > library so Qt needs to be compiled from
                        source. <br>
                      </p>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </blockquote>
    </blockquote>
  </body>
</html>