[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [pyqtdeploy] Failing at building the demo
From: Charles <peacech () gmail ! com>
Date: 2024-04-22 12:06:05
Message-ID: CABthHP84MQ=ftMjskuYbC7R-1y_-Eu7ke--710JsVWzmWH1hOw () mail ! gmail ! com
[Download RAW message or body]
That symbol is exported by libQtCore.so.3 from PyQt5-Qt5. The easiest way
to fix it is to copy/replace libQtCore.so in /var/lib with the file from
PyQt5-Qt5. To be safe it is better to replace all Qt .so in /var/lib with
the ones from PyQt5-Qt5. Alternatively you can adjust your compiler LIB
search directory if you know how.
On Sun, Apr 21, 2024 at 11:53â¯PM umbertofilippo <umbertofilippo@tiscali.it>
wrote:
> Thanks Charles and thanks Phil for clarifying,
>
>
> I am moving on, but having another issue now.
>
> The symlink is now fine and I have the file I accidentally removed
> earlier ("libQt5Multimedia.so").
>
> Now when I try to build with make I get:
>
> ```
>
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libQtMultimedia.so:
>
> undefined reference to `operator delete[](void*, unsigned long)@Qt_5'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:210: memory] Error 1
>
> ```
>
> Sorry for spamming, I hope I can keep posting my tries without
> disturbing too much.
>
>
> Umberto
>
>
> On 4/21/24 18:49, Phil Thompson wrote:
> > QtMultimedia.abi3.so is the Python extension module that implements
> > the bindings to the QtMultimedia C++ library.
> >
> > libQt5Multimedia.so is the QtMultimedia C++ library itself.
> >
> > Phil
> >
> > On 21/04/2024 17:40, umbertofilippo wrote:
> > > Sorry for messing things up.
> > >
> > > I noticed the right command for the symlink was `sudo ln -s
> > > /home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5/
> QtMultimedia.abi3.so
> > >
> > > /usr/lib/x86_64-linux-gnu/libQtMultimedia.so` (not
> > > "libQt5Multimedia.so", removed the "5").
> > >
> > > Trying to rebuild again with this I got:
> > >
> > > ```
> > >
> > > /usr/bin/ld: cannot find
> > > /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so: No such file or
> > > directory
> > > collect2: error: ld returned 1 exit status
> > > make: *** [Makefile:210: memory] Error 1
> > >
> > > ```
> > >
> > > Sorry for the confusion.
> > >
> > > Umberto
> > >
> > > On 4/21/24 18:35, umbertofilippo wrote:
> > > >
> > > > Hello again,
> > > >
> > > >
> > > > I gave it a try.
> > > >
> > > > I found the QtMultimedia.abi.so file in the folder
> > > > /home/umberto/miniforge3/envs/memory/lib/python3.1/site-packages/PyQt5
> > > > (I am using a virtual Python environment created with mamba, similar
> > > > to conda).
> > > >
> > > > I created the symlink with `sudo ln -s
> > > >
> /home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5/
> QtMultimedia.abi3.so
> > > > /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so`. After this, I
> > > > checked that /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so points to
> > > >
> /home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5/
> QtMultimedia.abi3.so
> > > > by following the symlink and everything seems fine so far.
> > > >
> > > > I then tried to re-build with `pyqtdeploy-build memory.pdt`, then cs
> > > > to build- directory, `qmake` and `make`.
> > > >
> > > > I came back to the error I had before this:
> > > >
> > > > ```
> > > >
> > > > /usr/bin/ld: cannot find -lQtMultimedia: No such file or directory
> > > > collect2: error: ld returned 1 exit status
> > > > make: *** [Makefile:210: memory] Error 1
> > > >
> > > > ```
> > > >
> > > > I sincerely don't know at this point what I am supposed to do, and I
> > > > did not think it wold be this complicated.
> > > >
> > > > Is it because I am using a virtual environment maybe?
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Umberto
> > > >
> > > >
> > > > On 4/21/24 12:31, Charles wrote:
> > > > > That means instead of QtMultimedia.so from Qt, it wants to link
> > > > > with QtMultimedia.abi3.so <http://QtMultimedia.abi3.so> from PyQt5
> > > > > package instead, so you should find where that file is located then
> > > > > create symlink from QtMultimedia.so to it.
> > > > >
> > > > > On Sun, Apr 21, 2024 at 5:16â¯PM umbertofilippo
> > > > > <umbertofilippo@tiscali.it> wrote:
> > > > >
> > > > > Thank you Charles,
> > > > >
> > > > >
> > > > > I symlinked the file, and now I am receiving yet another error:
> > > > >
> > > > >
> > > > > `/usr/bin/ld: pyqtdeploy_main.o:(.data.rel+0x28): undefined
> > > > > reference to `PyInit_QtMultimedia'`
> > > > >
> > > > >
> > > > > I am (again) a bit stuck at this point, a google search of
> > > > > "PyInit_QtMultimedia" gave no results...
> > > > >
> > > > > But I am confident that slowly but steadily, error by error, I
> > > > > will be able to eventually build the application!
> > > > >
> > > > > Of course, if it wasn't for the support of this mailing list, I
> > > > > would not be so optimist :)
> > > > >
> > > > >
> > > > > Umberto
> > > > >
> > > > >
> > > > > On 4/20/24 15:57, Charles wrote:
> > > > > > -lQtMultimedia means that you are linking with QtMultimedia.so.
> > > > > >
> > > > > > The first thing you do is check is your /usr/lib directory
> > > > > > whether that file exists: cd /usr/lib && find | grep -i
> > > > > > qtmultimedia
> > > > > >
> > > > > > Then if the file is not found, you check the list of files your
> > > > > > qtmultimedia5-dev package has. You'll see that it has
> > > > > > Qt5Multimedia.so.
> > > > > >
> > > > > > So then what you need to do is just symlink it
> > > > > >
> > > > > > ln
> > > > > >
> -s /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so \
> /usr/lib/x86_64-linux-gnu/libQtMultimedia.so
> > > > > >
> > > > > >
> > > > > > On Sat, Apr 20, 2024 at 8:21â¯PM umbertofilippo
> > > > > > <umbertofilippo@tiscali.it> wrote:
> > > > > >
> > > > > > Hi KC and thanks again for your suopport!
> > > > > >
> > > > > >
> > > > > > I have included it in my toml file, then tried to build the
> > > > > > project and I got the error: "Project ERROR: Unknown
> > > > > > module(s) in QT: multimedia linux"
> > > > > >
> > > > > >
> > > > > > I then googled and understood I might need to install
> > > > > > QtMultimedia on my system (Linux Mint 20).
> > > > > >
> > > > > > I then did `sudo apt install qtmultimedia5-dev
> > > > > > libqt5multimedia5 libqt5multimedia5-plugins` (not sure if
> > > > > > all were necessary), and now during the make command I
> > > > > > receive a new error:
> > > > > >
> > > > > >
> > > > > > ```
> > > > > >
> > > > > > /usr/bin/ld: cannot find -lQtMultimedia: No such file or
> > > > > > directory
> > > > > > collect2: error: ld returned 1 exit status
> > > > > > make: *** [Makefile:210: memory] Error 1
> > > > > >
> > > > > > ```
> > > > > >
> > > > > >
> > > > > > I tried to find out how to solve the problem but after some
> > > > > > search I could figure it out.
> > > > > >
> > > > > > I guess it still has to do with some missing components, but
> > > > > > I could not find the proper page with a list of all the
> > > > > > needed libraries.
> > > > > >
> > > > > >
> > > > > > Do you or anyone else has it?
> > > > > >
> > > > > >
> > > > > > Thanks again for your time, really appreciated
> > > > > >
> > > > > >
> > > > > > Umberto
> > > > > >
> > > > > >
> > > > > > On 4/20/24 11:32, Kaiser Chief wrote:
> > > > > > > Hi umbertofilippo,
> > > > > > >
> > > > > > > The non-standard python packages should be added to the
> > > > > > > `sysroot.toml` first.
> > > > > > >
> > > > > > > In fact, there should be a `PyQt5` block in your
> > > > > > > `sysroot.toml`. (The component plugin for PyQt5 will work
> > > > > > > there). Look at the `Pyqt5.Linux` section and add
> > > > > > > QtMultimedia to the list of modules (QtWidgets should
> > > > > > > already be there for instance).
> > > > > > >
> > > > > > > Then reload your .pdt and it should automatically detect
> > > > > > > QtMultimedia which you can tick.
> > > > > > >
> > > > > > > I have checked your python source code and it does not seem
> > > > > > > that you need any other dependency so you can ghead with
> > > > > > > this change and build.
> > > > > > >
> > > > > > > Best regards,
> > > > > > >
> > > > > > > KC
> > > > > > >
> > > > > > >
> > > > > > > On Fri, 19 Apr 2024, 17:16 umbertofilippo,
> > > > > > > <umbertofilippo@tiscali.it> wrote:
> > > > > > >
> > > > > > > Hello everyone,
> > > > > > >
> > > > > > >
> > > > > > > I finally had some time to come back to this.
> > > > > > >
> > > > > > > I tried to build my own application (a simple memory
> > > > > > > game, whose source you can find here:
> > > > > > > https://github.com/umbe1987/memory).
> > > > > > >
> > > > > > > Host Linux-64 and target Linux-64.
> > > > > > >
> > > > > > > The deployment process seemed smooth, however when I
> > > > > > > try to launch my application in the build-linux-64
> > > > > > > directory, I see this error:
> > > > > > >
> > > > > > >
> > > > > > > ```
> > > > > > >
> > > > > > > Traceback (most recent call last):
> > > > > > > File "memory.py", line 6, in <module>
> > > > > > > File "bootstrap-3.11.0.py
> > > > > > > <http://bootstrap-3.11.0.py>", line 1178, in
> > > > > > > _find_and_load
> > > > > > > File "bootstrap-3.11.0.py
> > > > > > > <http://bootstrap-3.11.0.py>", line 1142, in
> > > > > > > _find_and_load_unlocked
> > > > > > > ModuleNotFoundError: No module named
> > > > > > > 'PyQt5.QtMultimedia'
> > > > > > >
> > > > > > > ```
> > > > > > >
> > > > > > > I went back to the .pdt file (`pyqtdeploy-build
> > > > > > > memory.pdt`), but in the Packages tab I cannot see
> > > > > > > QtMultimedia listed anywhere.
> > > > > > >
> > > > > > > I could try to add it manually in the memory.pdt file,
> > > > > > > but I was wondering if I am doing anything wrong.
> > > > > > >
> > > > > > > I am sharing the content of my pdt file below.
> > > > > > >
> > > > > > > Many thanks in advance if you wish to help.
> > > > > > >
> > > > > > >
> > > > > > > Umberto
> > > > > > >
> > > > > > >
> > > > > > > memory.pdt
> > > > > > >
> > > > > > > ```
> > > > > > >
> > > > > > > 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",]
> > > > > > >
> > > > > > > [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
> > > > > > >
> > > > > > > ```
> > > > > > >
> > > > > > > On 3/12/24 08:48, umbertofilippo wrote:
> > > > > > > >
> > > > > > > > Thanks Charles and KC!
> > > > > > > >
> > > > > > > >
> > > > > > > > I was finally able to build the demo after installing
> > > > > > > > all the Qt for X11 requirements for Linux!!!
> > > > > > > >
> > > > > > > >
> > > > > > > > For the records, here is what I had to install on my
> > > > > > > > machine (Linux Mint 21):
> > > > > > > >
> > > > > > > > Note: there is a package in the list of requirements
> > > > > > > > which has a missing match on my system, I am marking
> > > > > > > > it down below:
> > > > > > > >
> > > > > > > >
> > > > > > > > sudo apt-get install libxcb-util-dev
> > > > > > > > sudo apt-get install libfontconfig1-dev
> > > > > > > > libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev
> > > > > > > > libxfixes-dev libxi-dev libxrender-dev libxcb1-dev
> > > > > > > > libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev
> > > > > > > > libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev
> > > > > > > > libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev
> > > > > > > > libxcb-render-util0-dev libxkbcommon-dev
> > > > > > > > libxkbcommon-x11-dev libxcb-xinerama0-dev # instead of
> > > > > > > > "libxcd-xinerama-dev"
> > > > > > > >
> > > > > > > >
> > > > > > > > Now, on my application and then Android! ;)
> > > > > > > >
> > > > > > > >
> > > > > > > > On 3/9/24 20:47, Umberto Minora wrote:
> > > > > > > > > Thanks for the hint Charles, I will try to test the
> > > > > > > > > solution as soon as I can and report back on the
> > > > > > > > > result.
> > > > > > > > >
> > > > > > > > > As far as I understand, I should do "sudo apt-get
> > > > > > > > > install libxcb-util-dev" as explained in
> > > > > > > > >
> https://forum.qt.io/topic/125582/qt-5-15-2-do-not-build-libqxcb-so-but-at-the-same-time-qt-5-14-0-successfully-build-libqxcb-so/4?_=1710013170647&lang=it
>
> > > > > > > > > <
> https://forum.qt.io/topic/125582/qt-5-15-2-do-not-build-libqxcb-so-but-at-the-same-time-qt-5-14-0-successfully-build-libqxcb-so/4?_=1710013170647&lang=it
>
> >
> > > > > > > > > and run "build-demo.py" again.
> > > > > > > > >
> > > > > > > > > Will be back soon.
> > > > > > > > >
> > > > > > > > > Umberto
> > > > > > > > >
> > > > > > > > > Il 9 mar 2024 15:48, Charles <peacech@gmail.com>
> > > > > > > > > <mailto:peacech@gmail.com> ha scritto:
> > > > > > > > >
> > > > > > > > > Do you have libxcb.so platform plugin in your qt
> > > > > > > > > directory?
> > > > > > > > >
> > > > > > > > > If not you need to rebuild qt again, make sure
> > > > > > > > > that requirements listed at
> > > > > > > > > https://doc.qt.io/qt-5/linux-requirements.html
> > > > > > > > > are installed and make sure the xcb platform
> > > > > > > > > plugin is built.
> > > > > > > > >
> > > > > > > > > On Sat, Mar 9, 2024 at 8:38â¯PM umbertofilippo
> > > > > > > > > <umbertofilippo@tiscali.it> wrote:
> > > > > > > > >
> > > > > > > > > Hello everyone,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > just a quick update: I did the KC's three
> > > > > > > > > lines trick and it did the job.
> > > > > > > > >
> > > > > > > > > I am now stuck at yet another error, which is
> > > > > > > > >
> > > > > > > > > Generating the Makefiles...
> > > > > > > > > /home/umberto/games/python/pyqt-demo/sysroot-linux-64/Qt/bin/qmake
> > > > > > > > > -recursive PyQt5.pro
> > > > > > > > > sip-install:
> > > > > > > > >
> '/home/umberto/games/python/pyqt-demo/sysroot-linux-64/Qt/bin/qmake
> > > > > > > > >
> > > > > > > > > -recursive PyQt5.pro' failed returning 3
> > > > > > > > > Info: creating stash file
> > > > > > > > > /tmp/tmphwkq3ix1/.qmake.stash
> > > > > > > > > Reading /tmp/tmphwkq3ix1/QtCore/QtCore.pro
> > > > > > > > > Reading
> > > > > > > > > /tmp/tmphwkq3ix1/QtNetwork/QtNetwork.pro
> > > > > > > > > Reading /tmp/tmphwkq3ix1/QtGui/QtGui.pro
> > > > > > > > > Reading
> > > > > > > > > /tmp/tmphwkq3ix1/QtWidgets/QtWidgets.pro
> > > > > > > > > Reading
> > > > > > > > > /tmp/tmphwkq3ix1/QtX11Extras/QtX11Extras.pro
> > > > > > > > > Project ERROR: Unknown module(s) in QT:
> > > > > > > > > x11extras
> > > > > > > > > pyqtdeploy-sysroot: execution of
> > > > > > > > > 'sip-install' failed: returned exit code 1
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I am attaching the whole log again in case
> > > > > > > > > it's useful to better understand what went
> > > > > > > > > wrong.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Any idea how to move on from here?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Sorry for spamming but I hope this thread not
> > > > > > > > > only will fix my issues but also will serve
> > > > > > > > > as a reference for building with a Linux
> > > > > > > > > machine (or me and for others hopefully).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Umberto
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 3/8/24 20:32, Kaiser Chief wrote:
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > "qt-everywhere-opensource-src-5.15.10.tar.xz"
> > > > > > > > > is the right file you are looking for.
> > > > > > > > >
> > > > > > > > > Unfortunately,
> > > > > > > > > "pyqtdeploy/sysroot/plugins/Qt.py" is
> > > > > > > > > looking for 'qt-everywhere-src-{}.tar.xz'
> > > > > > > > >
> > > > > > > > > You could fix that line (#53) in
> > > > > > > > > "pyqtdeploy/sysroot/plugins/Qt.py"with:
> > > > > > > > > ` qt-everywhere-opensource-src-{}.tar.xz `
> > > > > > > > >
> > > > > > > > > However, you might encounter problems
> > > > > > > > > down the line probably...
> > > > > > > > >
> > > > > > > > > I would recommend to stick with Qt5.15.2
> > > > > > > > > and do necessary changes.
> > > > > > > > > Alternatively, you could built
> > > > > > > > > qt-everywhere-opensource-src-5.15.10.tar.xz
> > > > > > > > > from source manually and tell pyqtdeploy
> > > > > > > > > where to look for Qt install (but that's
> > > > > > > > > a bit more painful).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Best regards,
> > > > > > > > >
> > > > > > > > > KC
> > > > > > > > >
> > > > > > > > > Le ven. 8 mars 2024 Ã 19:21,
> > > > > > > > > umbertofilippo
> > > > > > > > > <umbertofilippo@tiscali.it> a écrit :
> > > > > > > > >
> > > > > > > > > Thanks again for the feedback,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have just tried to update the
> > > > > > > > > sysroot.toml like this:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > # Qt
> > > > > > > > >
> ##########################################################################
> > > > > > > > >
> > > > > > > > > [Qt]
> > > > > > > > > version = "5.15.10" # original was
> > > > > > > > > "5.15.2"
> > > > > > > > > edition = "opensource"
> > > > > > > > >
> > > > > > > > > and now it seems the link to download
> > > > > > > > > the qt source can no longer be found.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Qt: installing component...
> > > > > > > > > Qt: looking for
> > > > > > > > > 'qt-everywhere-src-5.15.10.tar.xz' in
> > > > > > > > > /home/umberto/games/python/pyqt-demo.
> > > > > > > > > Qt: downloading
> > > > > > > > > 'qt-everywhere-src-5.15.10.tar.xz'
> > > > > > > > > from
> > > > > > > > > https://download.qt.io/archive/qt/5.15/5.15.10/single/...
> > > > > > > > > Qt:
> > > > > > > > > '
> https://download.qt.io/archive/qt/5.15/5.15.10/single/qt-everywhere-src-5.15.10.tar.xz
> '
> > > > > > > > > was not found.
> > > > > > > > > pyqtdeploy-sysroot: Qt: unable to
> > > > > > > > > find
> > > > > > > > >
> '/home/umberto/.pyqtdeploy/cache/qt-everywhere-src-5.15.10.tar.xz'.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The only similar thing I can see in
> > > > > > > > > https://download.qt.io/archive/qt/5.15/5.15.10/single/
> > > > > > > > > is
> > > > > > > > > "qt-everywhere-opensource-src-5.15.10.tar.xz"
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > If there is no easy way to solve this
> > > > > > > > > you can think of I will probably try
> > > > > > > > > to test adding those 3 lines to
> > > > > > > > > qtbase/src/corelib/global/qglobal.h
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks again so much for your kind
> > > > > > > > > and feedback, much appreciated!
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Umberto
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 3/8/24 19:38, Kaiser Chief wrote:
> > > > > > > > >
> > > > > > > > > To complement Charles' answer, it
> > > > > > > > > seems like someone found a quick
> > > > > > > > > fix with GCC11, in case you are
> > > > > > > > > reluctant to move back to GCC10:
> > > > > > > > >
> https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ubuntu-22-04/2
>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > add these 3 lines at the top of
> > > > > > > > > qtbase/src/corelib/global/qglobal.h
> > > > > > > > > > (I haven't tested that)
> > > > > > > > > ```
> > > > > > > > > #ifdef __cplusplus
> > > > > > > > > #include <limits>
> > > > > > > > > #endif
> > > > > > > > > ```
> > > > > > > > >
> > > > > > > > > For ref, the QT bug associated
> > > > > > > > > is:
> > > > > > > > > https://bugreports.qt.io/browse/QTBUG-90395
> > > > > > > > > It has been fixed for ** QT5.15.9
> > > > > > > > > <
> https://bugreports.qt.io/issues/?jql=project+%3D+QTBUG+AND+fixVersion+%3D+5.15.9
> > ,
> > > > > > > > > but since you are using the
> > > > > > > > > default QT5.15.2, well it's not
> > > > > > > > > fixed.
> > > > > > > > >
> > > > > > > > > Best regards,
> > > > > > > > >
> > > > > > > > > KC
> > > > > > > > >
> > > > > > > > > Le ven. 8 mars 2024 Ã 18:28,
> > > > > > > > > Charles <peacech@gmail.com> a
> > > > > > > > > écrit :
> > > > > > > > >
> > > > > > > > > With C++ the relevant error
> > > > > > > > > is the first error line, the
> > > > > > > > > rest is usually noise. If you
> > > > > > > > > google gcc numeric_limits is
> > > > > > > > > not a class template you will
> > > > > > > > > find
> > > > > > > > > https://bugs.gentoo.org/768342
> > > > > > > > >
> > > > > > > > > If you use gcc 11 then use
> > > > > > > > > gcc 10 otherwise patch qt
> > > > > > > > > headers as in
> > > > > > > > >
> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d54be896563102786238893a9c645b8bdb43ef
>
> > > > > > > > >
> > > > > > > > > On Sat, Mar 9, 2024 at
> > > > > > > > > 12:49â¯AM umbertofilippo
> > > > > > > > > <umbertofilippo@tiscali.it>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > Moving on,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have tried to remove
> > > > > > > > > OpenSSL from the
> > > > > > > > > "sysroot.toml" since it
> > > > > > > > > is not required, and now
> > > > > > > > > the process seems to go
> > > > > > > > > further, but I am stuck
> > > > > > > > > at a new error:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Verifying host
> > > > > > > > > architecture 'linux-64'...
> > > > > > > > > Verifying target
> > > > > > > > > architecture 'linux-64'...
> > > > > > > > > zlib: verifying...
> > > > > > > > > Qt: verifying...
> > > > > > > > > Python: verifying...
> > > > > > > > > SIP: verifying...
> > > > > > > > > PyQt: verifying...
> > > > > > > > > PyQt3D: verifying...
> > > > > > > > > PyQtChart: verifying...
> > > > > > > > > PyQtDataVisualization:
> > > > > > > > > verifying...
> > > > > > > > > PyQtNetworkAuth: verifying...
> > > > > > > > > PyQtPurchasing: verifying...
> > > > > > > > > QScintilla: verifying...
> > > > > > > > > zlib: installing
> > > > > > > > > component...
> > > > > > > > > Qt: installing
> > > > > > > > > component...
> > > > > > > > > Qt: downloading
> > > > > > > > > 'qt-everywhere-src-5.15.2.tar.xz'
> > > > > > > > > from
> > > > > > > > > https://download.qt.io/archive/qt/5.15/5.15.2/single/...
> > > > > > > > > pyqtdeploy-sysroot:
> > > > > > > > > execution of
> > > > > > > > > './configure' failed:
> > > > > > > > > returned exit code 2
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > What can be the cause of
> > > > > > > > > this new error? I see
> > > > > > > > > there is a new folder now
> > > > > > > > > in the original pyqt demo
> > > > > > > > > directory called
> > > > > > > > > "sysroot-linux-64" and
> > > > > > > > > inside I see there's
> > > > > > > > > "sysroot-linux-64/build/qt-everywhere-src-5.15.2"
> > > > > > > > > with a "configure" file,
> > > > > > > > > but other than this I
> > > > > > > > > have no clue sincerely on
> > > > > > > > > why it is failing.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have attached the
> > > > > > > > > content of running
> > > > > > > > > build-demo.py with --verbose
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hope someone can help me.
> > > > > > > > > Thanks.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 3/8/24 12:18,
> > > > > > > > > umbertofilippo wrote:
> > > > > > > > >
> > > > > > > > > Hi and many thanks
> > > > > > > > > for you feedback!
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > First of all let me
> > > > > > > > > tell that I am very
> > > > > > > > > interested in finding
> > > > > > > > > a solution to this
> > > > > > > > > problem, and I will
> > > > > > > > > try to do my best if
> > > > > > > > > I can contribute in
> > > > > > > > > case it's needed.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I just checked, and
> > > > > > > > > this is what I can
> > > > > > > > > see in my
> > > > > > > > > /usr/include/openssl/opensslv.h
> > > > > > > > > file. Cannot tell
> > > > > > > > > though if pyqtdeploy
> > > > > > > > > is supposed to work
> > > > > > > > > or not given these
> > > > > > > > > lines...
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > /*
> > > > > > > > > * SECTION 4:
> > > > > > > > > BACKWARD COMPATIBILITY
> > > > > > > > > */
> > > > > > > > >
> > > > > > > > > # define
> > > > > > > > > OPENSSL_VERSION_TEXT
> > > > > > > > > "OpenSSL 3.0.2 15 Mar
> > > > > > > > > 2022"
> > > > > > > > >
> > > > > > > > > /* Synthesize
> > > > > > > > > OPENSSL_VERSION_NUMBER
> > > > > > > > > with the layout
> > > > > > > > > 0xMNN00PPSL */
> > > > > > > > > # ifdef
> > > > > > > > > OPENSSL_VERSION_PRE_RELEASE
> > > > > > > > > # define
> > > > > > > > > _OPENSSL_VERSION_PRE_RELEASE
> > > > > > > > > 0x0L
> > > > > > > > > # else
> > > > > > > > > # define
> > > > > > > > > _OPENSSL_VERSION_PRE_RELEASE
> > > > > > > > > 0xfL
> > > > > > > > > # endif
> > > > > > > > > # define
> > > > > > > > > OPENSSL_VERSION_NUMBER \
> > > > > > > > > (
> > > > > > > > > (OPENSSL_VERSION_MAJOR<<28)
> > > > > > > > > \
> > > > > > > > > > (OPENSSL_VERSION_MINOR<<20)
> > > > > > > > > \
> > > > > > > > > > (OPENSSL_VERSION_PATCH<<4)
> > > > > > > > > \
> > > > > > > > > > _OPENSSL_VERSION_PRE_RELEASE
> > > > > > > > > )
> > > > > > > > >
> > > > > > > > > # ifdef __cplusplus
> > > > > > > > > }
> > > > > > > > > # endif
> > > > > > > > >
> > > > > > > > > # include
> > > > > > > > > <openssl/macros.h>
> > > > > > > > > # ifndef
> > > > > > > > > OPENSSL_NO_DEPRECATED_3_0
> > > > > > > > > # define
> > > > > > > > > HEADER_OPENSSLV_H
> > > > > > > > > # endif
> > > > > > > > >
> > > > > > > > > #endif
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Umberto
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 3/7/24 19:11,
> > > > > > > > > Kaiser Chief wrote:
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > To complement my
> > > > > > > > > previous message
> > > > > > > > > (and after doing
> > > > > > > > > a quick search
> > > > > > > > > through the
> > > > > > > > > source code):
> > > > > > > > > * The script
> > > > > > > > > "OpenSSL.py" is
> > > > > > > > > looking for
> > > > > > > > > "OPENSSL_VERSION_NUMBER"
> > > > > > > > > in
> > > > > > > > > "/usr/include/openssl/opensslv.h"
> > > > > > > > > * In OpenSSL
> > > > > > > > > 1.1.1 (which is
> > > > > > > > > installed on my
> > > > > > > > > Linux), I can see
> > > > > > > > > the line "#define
> > > > > > > > > OPENSSL_VERSION_NUMBER"
> > > > > > > > > in
> > > > > > > > > "/usr/include/openssl/opensslv.h".
> > > > > > > > >
> > > > > > > > > Can you check
> > > > > > > > > that you have
> > > > > > > > > that line in your
> > > > > > > > > header file too?
> > > > > > > > >
> > > > > > > > > If not, it's
> > > > > > > > > probably that
> > > > > > > > > OpenSSL updated
> > > > > > > > > their header
> > > > > > > > > files and put the
> > > > > > > > > VERSION_NUMBER
> > > > > > > > > somewhere else...
> > > > > > > > >
> > > > > > > > > If you want to
> > > > > > > > > run the demo, I
> > > > > > > > > would recommend
> > > > > > > > > you install the
> > > > > > > > > default versions
> > > > > > > > > as written in the
> > > > > > > > > `sysroot.toml`
> > > > > > > > >
> > > > > > > > > If there are
> > > > > > > > > fixes to make for
> > > > > > > > > each "version
> > > > > > > > > grepping", I
> > > > > > > > > believe that Phil
> > > > > > > > > had a way to
> > > > > > > > > contribute to
> > > > > > > > > plugins for
> > > > > > > > > pyqtdeploy, but
> > > > > > > > > can't remember
> > > > > > > > > where...
> > > > > > > > >
> > > > > > > > > Best regards,
> > > > > > > > >
> > > > > > > > > KC
> > > > > > > > >
> > > > > > > > > Le jeu. 7 mars
> > > > > > > > > 2024 Ã 17:56,
> > > > > > > > > Kaiser Chief
> > > > > > > > > <kaiser.chiefmail@gmail.com>
> > > > > > > > > a écrit :
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > According to
> > > > > > > > > the sysroot
> > > > > > > > > help page
> > > > > > > > > (
> https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/sysroot.html#openssl),
>
> > > > > > > > >
> > > > > > > > > if you have
> > > > > > > > > configured
> > > > > > > > > your
> > > > > > > > > `sysroot.toml`
> > > > > > > > > like this:
> > > > > > > > > ```
> > > > > > > > >
> > > > > > > > > [OpenSSL.linux]
> > > > > > > > > version = ""
> > > > > > > > > install_from_source = false
> > > > > > > > >
> > > > > > > > > ```
> > > > > > > > >
> > > > > > > > > Then, on
> > > > > > > > > Linux, the
> > > > > > > > > OpenSSL
> > > > > > > > > library used
> > > > > > > > > will be the
> > > > > > > > > one installed
> > > > > > > > > on your OS
> > > > > > > > > with no
> > > > > > > > > assumption on
> > > > > > > > > the version
> > > > > > > > > (so that
> > > > > > > > > should work
> > > > > > > > > in your example).
> > > > > > > > > Now, that's
> > > > > > > > > what is
> > > > > > > > > provided in
> > > > > > > > > the demo
> > > > > > > > > folder for
> > > > > > > > > `pyqtdeploy-3.3.0`,
> > > > > > > > > so that's odd.
> > > > > > > > >
> > > > > > > > > Therefore, it
> > > > > > > > > could be that
> > > > > > > > > the
> > > > > > > > > `pyqtdeploy-sysroot`
> > > > > > > > > functionality
> > > > > > > > > is struggling
> > > > > > > > > to extract
> > > > > > > > > the version
> > > > > > > > > number from
> > > > > > > > > your
> > > > > > > > > OS-installed
> > > > > > > > > OpenSSL.
> > > > > > > > >
> > > > > > > > > ---
> > > > > > > > >
> > > > > > > > > I am not of
> > > > > > > > > great help
> > > > > > > > > with that
> > > > > > > > > comment,
> > > > > > > > > however, I
> > > > > > > > > would like to
> > > > > > > > > suggest, if
> > > > > > > > > it's your
> > > > > > > > > first time
> > > > > > > > > with
> > > > > > > > > pyqtdeploy to
> > > > > > > > > give a try at
> > > > > > > > > my Github repo:
> > > > > > > > >
> > > > > > > > > https://github.com/achille-martin/pyqt-crom
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > This repo
> > > > > > > > > aims at
> > > > > > > > > demonstrating
> > > > > > > > > how beginner
> > > > > > > > > devs,
> > > > > > > > > intermediate
> > > > > > > > > devs and
> > > > > > > > > expert devs
> > > > > > > > > can benefit
> > > > > > > > > from pyqtdeploy.
> > > > > > > > > It also
> > > > > > > > > offers a few
> > > > > > > > > simple
> > > > > > > > > tutorials to
> > > > > > > > > get started
> > > > > > > > > with
> > > > > > > > > pyqtdeploy
> > > > > > > > > (simpler than
> > > > > > > > > the demo in
> > > > > > > > > the official
> > > > > > > > > pyqtdeploy
> > > > > > > > > package) and
> > > > > > > > > optimises
> > > > > > > > > bits of the
> > > > > > > > > tool
> > > > > > > > > regarding the
> > > > > > > > > user
> > > > > > > > > interface
> > > > > > > > > (for now).
> > > > > > > > >
> > > > > > > > > I can support
> > > > > > > > > you with your
> > > > > > > > > initial
> > > > > > > > > journey on
> > > > > > > > > discovering
> > > > > > > > > pyqtdeploy
> > > > > > > > > through my
> > > > > > > > > repo if you wish.
> > > > > > > > >
> > > > > > > > > Best regards,
> > > > > > > > >
> > > > > > > > > KC
> > > > > > > > >
> > > > > > > > > Le jeu. 7
> > > > > > > > > mars 2024
> > > > > > > > > Ã 17:06,
> > > > > > > > > umbertofilippo
> > > > > > > > > <umbertofilippo@tiscali.it>
> > > > > > > > > a écrit :
> > > > > > > > >
> > > > > > > > > Hello
> > > > > > > > > everyone,
> > > > > > > > > first
> > > > > > > > > time here
> > > > > > > > > for me :)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I was
> > > > > > > > > giving
> > > > > > > > > pyqtdeploy
> > > > > > > > > a try and
> > > > > > > > > I am
> > > > > > > > > stuck at
> > > > > > > > > the very
> > > > > > > > > first
> > > > > > > > > step of
> > > > > > > > > the
> > > > > > > > > "Building
> > > > > > > > > the Demo"
> > > > > > > > > page.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I am on a
> > > > > > > > > Linux-64
> > > > > > > > > machine.
> > > > > > > > > I am
> > > > > > > > > following
> > > > > > > > > the
> > > > > > > > >
> > > > > > > > > tutorial at
> > > > > > > > >
> https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/demo.html
> > > > > > > > >
> > > > > > > > > and
> > > > > > > > > I have
> > > > > > > > > downloaded
> > > > > > > > > the demo
> > > > > > > > > files from
> > > > > > > > >
> https://files.pythonhosted.org/packages/44/d4/978017382f0ecc48601944c3fc0f58a5c5075a1d3acd48d09c11ee471b05/pyqtdeploy-3.3.0.tar.gz
>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have
> > > > > > > > > created a
> > > > > > > > > virtual
> > > > > > > > > python
> > > > > > > > >
> > > > > > > > > environment
> > > > > > > > > with the
> > > > > > > > > following
> > > > > > > > > packages
> > > > > > > > > and
> > > > > > > > > versions
> > > > > > > > > installed:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Name,Version
> > > > > > > > > _libgcc_mutex,0.1
> > > > > > > > > _openmp_mutex,4.5
> > > > > > > > >
> > > > > > > > > bzip2,1.0.8
> > > > > > > > > ca-certificates,2024.2.2
> > > > > > > > > ld_impl_linux-64,2.40
> > > > > > > > >
> > > > > > > > > libexpat,2.6.1
> > > > > > > > >
> > > > > > > > > libffi,3.4.2
> > > > > > > > >
> > > > > > > > > libgcc-ng,13.2.0
> > > > > > > > >
> > > > > > > > > libgomp,13.2.0
> > > > > > > > >
> > > > > > > > > libnsl,2.0.1
> > > > > > > > >
> > > > > > > > > libsqlite,3.45.1
> > > > > > > > >
> > > > > > > > > libuuid,2.38.1
> > > > > > > > >
> > > > > > > > > libxcrypt,4.4.36
> > > > > > > > >
> > > > > > > > > libzlib,1.2.13
> > > > > > > > >
> > > > > > > > > ncurses,6.4
> > > > > > > > >
> > > > > > > > > openssl,3.2.1
> > > > > > > > > pip,24.0
> > > > > > > > >
> > > > > > > > > pyqt5,5.15.10
> > > > > > > > >
> > > > > > > > > pyqt5-qt5,5.15.2
> > > > > > > > > pyqt5-sip,12.13.0
> > > > > > > > >
> > > > > > > > > pyqtdeploy,3.3.0
> > > > > > > > >
> > > > > > > > > python,3.12.2
> > > > > > > > >
> > > > > > > > > readline,8.2
> > > > > > > > > setuptools,69.1.1
> > > > > > > > > tk,8.6.13
> > > > > > > > >
> > > > > > > > > toml,0.10.2
> > > > > > > > >
> > > > > > > > > tzdata,2024a
> > > > > > > > >
> > > > > > > > > wheel,0.42.0
> > > > > > > > > xz,5.2.6
> > > > > > > > >
> > > > > > > > > I have
> > > > > > > > > tried to
> > > > > > > > > run the
> > > > > > > > > command
> > > > > > > > > "python
> > > > > > > > >
> > > > > > > > > build-demo.py"
> > > > > > > > > straight
> > > > > > > > > away,
> > > > > > > > > but I am
> > > > > > > > > getting
> > > > > > > > > the
> > > > > > > > > following
> > > > > > > > > error:
> > > > > > > > >
> > > > > > > > > OpenSSL:
> > > > > > > > >
> > > > > > > > > verifying...
> > > > > > > > > OpenSSL:
> > > > > > > > >
> > > > > > > > > determining
> > > > > > > > > installed
> > > > > > > > > version
> > > > > > > > > from
> > > > > > > > > '/usr/include/openssl/opensslv.h'.
> > > > > > > > > pyqtdeploy-sysroot:
> > > > > > > > > OpenSSL:
> > > > > > > > > unable to
> > > > > > > > > extract
> > > > > > > > > the
> > > > > > > > > version
> > > > > > > > > number.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > OpenSSL
> > > > > > > > > is
> > > > > > > > > installed
> > > > > > > > > on my
> > > > > > > > > machine
> > > > > > > > > and the
> > > > > > > > > result of
> > > > > > > > > doing
> > > > > > > > > "openssl
> > > > > > > > > version"
> > > > > > > > > is
> > > > > > > > > "OpenSSL
> > > > > > > > > 3.2.1 30
> > > > > > > > > Jan 2024
> > > > > > > > > (Library:
> > > > > > > > > OpenSSL
> > > > > > > > > 3.2.1 30
> > > > > > > > > Jan 2024)"
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Am I
> > > > > > > > > supposed
> > > > > > > > > to
> > > > > > > > > install
> > > > > > > > > the exact
> > > > > > > > > versions
> > > > > > > > > of all
> > > > > > > > > the
> > > > > > > > > components
> > > > > > > > > found
> > > > > > > > > in the
> > > > > > > > >
> > > > > > > > > ""sysroot.toml"
> > > > > > > > > file to
> > > > > > > > > be able
> > > > > > > > > to
> > > > > > > > >
> > > > > > > > > run "python
> > > > > > > > >
> > > > > > > > > build-demo.py"
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > successfully?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Umberto
> > > > > > > > >
> > > > > > > > >
>
[Attachment #3 (text/html)]
<div dir="ltr"><div class="gmail_default" \
style="font-family:arial,helvetica,sans-serif;font-size:small">That symbol is \
exported by libQtCore.so.3 from PyQt5-Qt5. The easiest way to fix it is to \
copy/replace libQtCore.so in /var/lib with the file from PyQt5-Qt5. To be safe it is \
better to replace all Qt .so in /var/lib with the ones from PyQt5-Qt5. Alternatively \
you can adjust your compiler LIB search directory if you know how.<br></div><div \
class="gmail_default" \
style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 21, 2024 at \
11:53 PM umbertofilippo <<a \
href="mailto:umbertofilippo@tiscali.it">umbertofilippo@tiscali.it</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks Charles and \
thanks Phil for clarifying,<br> <br>
<br>
I am moving on, but having another issue now.<br>
<br>
The symlink is now fine and I have the file I accidentally removed <br>
earlier ("libQt5Multimedia.so").<br>
<br>
Now when I try to build with make I get:<br>
<br>
```<br>
<br>
/usr/bin/ld: <br>
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libQtMultimedia.so: <br>
undefined reference to `operator delete[](void*, unsigned long)@Qt_5'<br>
collect2: error: ld returned 1 exit status<br>
make: *** [Makefile:210: memory] Error 1<br>
<br>
```<br>
<br>
Sorry for spamming, I hope I can keep posting my tries without <br>
disturbing too much.<br>
<br>
<br>
Umberto<br>
<br>
<br>
On 4/21/24 18:49, Phil Thompson wrote:<br>
> <a href="http://QtMultimedia.abi3.so" rel="noreferrer" \
target="_blank">QtMultimedia.abi3.so</a> is the Python extension module that \
implements <br> > the bindings to the QtMultimedia C++ library.<br>
><br>
> libQt5Multimedia.so is the QtMultimedia C++ library itself.<br>
><br>
> Phil<br>
><br>
> On 21/04/2024 17:40, umbertofilippo wrote:<br>
>> Sorry for messing things up.<br>
>><br>
>> I noticed the right command for the symlink was `sudo ln -s<br>
>> /home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5/<a \
href="http://QtMultimedia.abi3.so" rel="noreferrer" \
target="_blank">QtMultimedia.abi3.so</a> <br> >><br>
>> /usr/lib/x86_64-linux-gnu/libQtMultimedia.so` (not<br>
>> "libQt5Multimedia.so", removed the "5").<br>
>><br>
>> Trying to rebuild again with this I got:<br>
>><br>
>> ```<br>
>><br>
>> /usr/bin/ld: cannot find<br>
>> /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so: No such file or<br>
>> directory<br>
>> collect2: error: ld returned 1 exit status<br>
>> make: *** [Makefile:210: memory] Error 1<br>
>><br>
>> ```<br>
>><br>
>> Sorry for the confusion.<br>
>><br>
>> Umberto<br>
>><br>
>> On 4/21/24 18:35, umbertofilippo wrote:<br>
>>><br>
>>> Hello again,<br>
>>><br>
>>><br>
>>> I gave it a try.<br>
>>><br>
>>> I found the <a href="http://QtMultimedia.abi.so" rel="noreferrer" \
target="_blank">QtMultimedia.abi.so</a> file in the folder <br> >>> \
/home/umberto/miniforge3/envs/memory/lib/python3.1/site-packages/PyQt5 <br> \
>>> (I am using a virtual Python environment created with mamba, similar \
<br> >>> to conda).<br>
>>><br>
>>> I created the symlink with `sudo ln -s <br>
>>> /home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5/<a \
href="http://QtMultimedia.abi3.so" rel="noreferrer" \
target="_blank">QtMultimedia.abi3.so</a> <br> >>> \
/usr/lib/x86_64-linux-gnu/libQt5Multimedia.so`. After this, I <br> >>> \
checked that /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so points to <br> \
>>> /home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5/<a \
href="http://QtMultimedia.abi3.so" rel="noreferrer" \
target="_blank">QtMultimedia.abi3.so</a> <br> >>> by following the symlink \
and everything seems fine so far.<br> >>><br>
>>> I then tried to re-build with `pyqtdeploy-build memory.pdt`, then cs \
<br> >>> to build- directory, `qmake` and `make`.<br>
>>><br>
>>> I came back to the error I had before this:<br>
>>><br>
>>> ```<br>
>>><br>
>>> /usr/bin/ld: cannot find -lQtMultimedia: No such file or directory<br>
>>> collect2: error: ld returned 1 exit status<br>
>>> make: *** [Makefile:210: memory] Error 1<br>
>>><br>
>>> ```<br>
>>><br>
>>> I sincerely don't know at this point what I am supposed to do, and I \
<br> >>> did not think it wold be this complicated.<br>
>>><br>
>>> Is it because I am using a virtual environment maybe?<br>
>>><br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Umberto<br>
>>><br>
>>><br>
>>> On 4/21/24 12:31, Charles wrote:<br>
>>>> That means instead of QtMultimedia.so from Qt, it wants to link <br>
>>>> with <a href="http://QtMultimedia.abi3.so" rel="noreferrer" \
target="_blank">QtMultimedia.abi3.so</a> <<a href="http://QtMultimedia.abi3.so" \
rel="noreferrer" target="_blank">http://QtMultimedia.abi3.so</a>> from PyQt5 <br> \
>>>> package instead, so you should find where that file is located then \
<br> >>>> create symlink from QtMultimedia.so to it.<br>
>>>><br>
>>>> On Sun, Apr 21, 2024 at 5:16 PM umbertofilippo <br>
>>>> <<a href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>> wrote:<br> >>>><br>
>>>> Thank you Charles,<br>
>>>><br>
>>>><br>
>>>> I symlinked the file, and now I am receiving yet another \
error:<br> >>>><br>
>>>><br>
>>>> `/usr/bin/ld: pyqtdeploy_main.o:(.data.rel+0x28): undefined<br>
>>>> reference to `PyInit_QtMultimedia'`<br>
>>>><br>
>>>><br>
>>>> I am (again) a bit stuck at this point, a google search of<br>
>>>> "PyInit_QtMultimedia" gave no results...<br>
>>>><br>
>>>> But I am confident that slowly but steadily, error by error, \
I<br> >>>> will be able to eventually build the application!<br>
>>>><br>
>>>> Of course, if it wasn't for the support of this mailing \
list, I<br> >>>> would not be so optimist :)<br>
>>>><br>
>>>><br>
>>>> Umberto<br>
>>>><br>
>>>><br>
>>>> On 4/20/24 15:57, Charles wrote:<br>
>>>>> -lQtMultimedia means that you are linking with \
QtMultimedia.so.<br> >>>>><br>
>>>>> The first thing you do is check is your /usr/lib \
directory<br> >>>>> whether that file exists: cd /usr/lib \
&& find | grep -i <br> >>>>> qtmultimedia<br>
>>>>><br>
>>>>> Then if the file is not found, you check the list of files \
your<br> >>>>> qtmultimedia5-dev package has. You'll see that \
it has<br> >>>>> Qt5Multimedia.so.<br>
>>>>><br>
>>>>> So then what you need to do is just symlink it<br>
>>>>><br>
>>>>> ln<br>
>>>>> -s /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so \
/usr/lib/x86_64-linux-gnu/libQtMultimedia.so<br> >>>>><br>
>>>>><br>
>>>>> On Sat, Apr 20, 2024 at 8:21 PM umbertofilippo<br>
>>>>> <<a href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>> wrote:<br> >>>>><br>
>>>>> Hi KC and thanks again for your suopport!<br>
>>>>><br>
>>>>><br>
>>>>> I have included it in my toml file, then tried to build \
the<br> >>>>> project and I got the error: "Project \
ERROR: Unknown<br> >>>>> module(s) in QT: multimedia \
linux"<br> >>>>><br>
>>>>><br>
>>>>> I then googled and understood I might need to \
install<br> >>>>> QtMultimedia on my system (Linux Mint \
20).<br> >>>>><br>
>>>>> I then did `sudo apt install qtmultimedia5-dev<br>
>>>>> libqt5multimedia5 libqt5multimedia5-plugins` (not sure \
if<br> >>>>> all were necessary), and now during the make \
command I<br> >>>>> receive a new error:<br>
>>>>><br>
>>>>><br>
>>>>> ```<br>
>>>>><br>
>>>>> /usr/bin/ld: cannot find -lQtMultimedia: No such file \
or<br> >>>>> directory<br>
>>>>> collect2: error: ld returned 1 exit status<br>
>>>>> make: *** [Makefile:210: memory] Error 1<br>
>>>>><br>
>>>>> ```<br>
>>>>><br>
>>>>><br>
>>>>> I tried to find out how to solve the problem but after \
some<br> >>>>> search I could figure it out.<br>
>>>>><br>
>>>>> I guess it still has to do with some missing components, \
but<br> >>>>> I could not find the proper page with a list of \
all the<br> >>>>> needed libraries.<br>
>>>>><br>
>>>>><br>
>>>>> Do you or anyone else has it?<br>
>>>>><br>
>>>>><br>
>>>>> Thanks again for your time, really appreciated<br>
>>>>><br>
>>>>><br>
>>>>> Umberto<br>
>>>>><br>
>>>>><br>
>>>>> On 4/20/24 11:32, Kaiser Chief wrote:<br>
>>>>>> Hi umbertofilippo,<br>
>>>>>><br>
>>>>>> The non-standard python packages should be added to \
the<br> >>>>>> `sysroot.toml` first.<br>
>>>>>><br>
>>>>>> In fact, there should be a `PyQt5` block in your<br>
>>>>>> `sysroot.toml`. (The component plugin for PyQt5 will \
work<br> >>>>>> there). Look at the `Pyqt5.Linux` section \
and add<br> >>>>>> QtMultimedia to the list of modules \
(QtWidgets should<br> >>>>>> already be there for \
instance).<br> >>>>>><br>
>>>>>> Then reload your .pdt and it should automatically \
detect<br> >>>>>> QtMultimedia which you can tick.<br>
>>>>>><br>
>>>>>> I have checked your python source code and it does \
not seem<br> >>>>>> that you need any other dependency so \
you can ghead with<br> >>>>>> this change and build.<br>
>>>>>><br>
>>>>>> Best regards,<br>
>>>>>><br>
>>>>>> KC<br>
>>>>>><br>
>>>>>><br>
>>>>>> On Fri, 19 Apr 2024, 17:16 umbertofilippo,<br>
>>>>>> <<a href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>> wrote:<br> \
>>>>>><br> >>>>>> Hello everyone,<br>
>>>>>><br>
>>>>>><br>
>>>>>> I finally had some time to come back to \
this.<br> >>>>>><br>
>>>>>> I tried to build my own application (a simple \
memory<br> >>>>>> game, whose source you can find \
here:<br> >>>>>> <a \
href="https://github.com/umbe1987/memory" rel="noreferrer" \
target="_blank">https://github.com/umbe1987/memory</a>).<br> \
>>>>>><br> >>>>>> Host Linux-64 and \
target Linux-64.<br> >>>>>><br>
>>>>>> The deployment process seemed smooth, however \
when I<br> >>>>>> try to launch my application in the \
build-linux-64<br> >>>>>> directory, I see this \
error:<br> >>>>>><br>
>>>>>><br>
>>>>>> ```<br>
>>>>>><br>
>>>>>> Traceback (most recent call last):<br>
>>>>>> File "memory.py", line 6, in \
<module><br> >>>>>> File "<a \
href="http://bootstrap-3.11.0.py" rel="noreferrer" \
target="_blank">bootstrap-3.11.0.py</a><br> >>>>>> \
<<a href="http://bootstrap-3.11.0.py" rel="noreferrer" \
target="_blank">http://bootstrap-3.11.0.py</a>>", line 1178, in <br> \
>>>>>> _find_and_load<br> >>>>>> \
File "<a href="http://bootstrap-3.11.0.py" rel="noreferrer" \
target="_blank">bootstrap-3.11.0.py</a><br> >>>>>> \
<<a href="http://bootstrap-3.11.0.py" rel="noreferrer" \
target="_blank">http://bootstrap-3.11.0.py</a>>", line 1142, in<br> \
>>>>>> _find_and_load_unlocked<br> \
>>>>>> ModuleNotFoundError: No module named <br> \
>>>>>> 'PyQt5.QtMultimedia'<br> \
>>>>>><br> >>>>>> ```<br>
>>>>>><br>
>>>>>> I went back to the .pdt file \
(`pyqtdeploy-build<br> >>>>>> memory.pdt`), but in the \
Packages tab I cannot see<br> >>>>>> QtMultimedia \
listed anywhere.<br> >>>>>><br>
>>>>>> I could try to add it manually in the memory.pdt \
file,<br> >>>>>> but I was wondering if I am doing \
anything wrong.<br> >>>>>><br>
>>>>>> I am sharing the content of my pdt file \
below.<br> >>>>>><br>
>>>>>> Many thanks in advance if you wish to help.<br>
>>>>>><br>
>>>>>><br>
>>>>>> Umberto<br>
>>>>>><br>
>>>>>><br>
>>>>>> memory.pdt<br>
>>>>>><br>
>>>>>> ```<br>
>>>>>><br>
>>>>>> version = 0<br>
>>>>>> sysroot = ""<br>
>>>>>> sysroots_dir = ""<br>
>>>>>> parts = [ "Python:random", \
"PyQt:PyQt5.QtWidgets",<br> >>>>>> \
"Python:glob", "Python:os", "PyQt:PyQt5.QtCore",<br> \
>>>>>> "PyQt:PyQt5.QtGui", \
"SIP:PyQt5.sip", "PyQt:PyQt5",]<br> >>>>>><br>
>>>>>> [Application]<br>
>>>>>> entry_point = ""<br>
>>>>>> is_console = false<br>
>>>>>> is_bundle = false<br>
>>>>>> name = ""<br>
>>>>>> qmake_configuration = ""<br>
>>>>>> script = "memory.py"<br>
>>>>>> syspath = ""<br>
>>>>>><br>
>>>>>> [Application.Package]<br>
>>>>>> name = "data"<br>
>>>>>> exclude = [ "*.pyc", \
"*.pyd", "*.pyo", "*.pyx",<br> >>>>>> \
"*.pxi", "__pycache__", "*-info", "EGG_INFO", \
"*.so",]<br> >>>>>> \
[[Application.Package.Content]]<br> >>>>>> name = \
"back.jpg"<br> >>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content]]<br>
>>>>>> name = "img"<br>
>>>>>> included = true<br>
>>>>>> is_directory = true<br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "analisiapprofondita.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "cagnaccioselvaggio.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "diamanteocchidileone.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "lameraviglia.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "leggedelpiuforte.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "lucertolacrogiolante.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "ricercaossessiva.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "ruggitodelwurm.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "studioaccurato.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "Tropicalisland.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "wurmarrogante.jpg"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>><br>
>>>>>> [[Application.Package.Content]]<br>
>>>>>> name = "sound"<br>
>>>>>> included = true<br>
>>>>>> is_directory = true<br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "end.wav"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "fail.wav"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> [[Application.Package.Content.Content]]<br>
>>>>>> name = "success.wav"<br>
>>>>>> included = true<br>
>>>>>> is_directory = false<br>
>>>>>><br>
>>>>>> ```<br>
>>>>>><br>
>>>>>> On 3/12/24 08:48, umbertofilippo wrote:<br>
>>>>>>><br>
>>>>>>> Thanks Charles and KC!<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> I was finally able to build the demo after \
installing<br> >>>>>>> all the Qt for X11 \
requirements for Linux!!!<br> >>>>>>><br>
>>>>>>><br>
>>>>>>> For the records, here is what I had to \
install on my<br> >>>>>>> machine (Linux Mint \
21):<br> >>>>>>><br>
>>>>>>> Note: there is a package in the list of \
requirements<br> >>>>>>> which has a missing match \
on my system, I am marking<br> >>>>>>> it down \
below:<br> >>>>>>><br>
>>>>>>><br>
>>>>>>> sudo apt-get install libxcb-util-dev<br>
>>>>>>> sudo apt-get install libfontconfig1-dev<br>
>>>>>>> libfreetype6-dev libx11-dev libx11-xcb-dev \
libxext-dev<br> >>>>>>> libxfixes-dev libxi-dev \
libxrender-dev libxcb1-dev<br> >>>>>>> \
libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev<br> \
>>>>>>> libxcb-shm0-dev libxcb-icccm4-dev \
libxcb-sync0-dev<br> >>>>>>> libxcb-xfixes0-dev \
libxcb-shape0-dev libxcb-randr0-dev<br> >>>>>>> \
libxcb-render-util0-dev libxkbcommon-dev<br> >>>>>>> \
libxkbcommon-x11-dev libxcb-xinerama0-dev # instead of<br> \
>>>>>>> "libxcd-xinerama-dev"<br> \
>>>>>>><br> >>>>>>><br>
>>>>>>> Now, on my application and then Android! \
;)<br> >>>>>>><br>
>>>>>>><br>
>>>>>>> On 3/9/24 20:47, Umberto Minora wrote:<br>
>>>>>>>> Thanks for the hint Charles, I will try \
to test the<br> >>>>>>>> solution as soon as I \
can and report back on the <br> >>>>>>>> result.<br>
>>>>>>>><br>
>>>>>>>> As far as I understand, I should do \
"sudo apt-get<br> >>>>>>>> install \
libxcb-util-dev" as explained in<br> >>>>>>>> <a \
href="https://forum.qt.io/topic/125582/qt-5-15-2-do-not-build-libqxcb-so-but-at-the-same-time-qt-5-14-0-successfully-build-libqxcb-so/4?_=1710013170647&lang=it" \
rel="noreferrer" target="_blank">https://forum.qt.io/topic/125582/qt-5-15-2-do-not-bui \
ld-libqxcb-so-but-at-the-same-time-qt-5-14-0-successfully-build-libqxcb-so/4?_=1710013170647&lang=it</a><br>
>>>>>>>> <<a \
href="https://forum.qt.io/topic/125582/qt-5-15-2-do-not-build-libqxcb-so-but-at-the-same-time-qt-5-14-0-successfully-build-libqxcb-so/4?_=1710013170647&lang=it" \
rel="noreferrer" target="_blank">https://forum.qt.io/topic/125582/qt-5-15-2-do-not-bui \
ld-libqxcb-so-but-at-the-same-time-qt-5-14-0-successfully-build-libqxcb-so/4?_=1710013170647&lang=it</a>><br>
>>>>>>>> and run "build-demo.py" \
again.<br> >>>>>>>><br>
>>>>>>>> Will be back soon.<br>
>>>>>>>><br>
>>>>>>>> Umberto<br>
>>>>>>>><br>
>>>>>>>> Il 9 mar 2024 15:48, Charles <<a \
href="mailto:peacech@gmail.com" target="_blank">peacech@gmail.com</a>><br> \
>>>>>>>> <mailto:<a \
href="mailto:peacech@gmail.com" target="_blank">peacech@gmail.com</a>> ha \
scritto:<br> >>>>>>>><br>
>>>>>>>> Do you have libxcb.so platform \
plugin in your qt<br> >>>>>>>> directory?<br>
>>>>>>>><br>
>>>>>>>> If not you need to rebuild qt again, \
make sure<br> >>>>>>>> that requirements \
listed at<br> >>>>>>>> <a \
href="https://doc.qt.io/qt-5/linux-requirements.html" rel="noreferrer" \
target="_blank">https://doc.qt.io/qt-5/linux-requirements.html</a><br> \
>>>>>>>> are installed and make sure the xcb \
platform<br> >>>>>>>> plugin is built.<br>
>>>>>>>><br>
>>>>>>>> On Sat, Mar 9, 2024 at 8:38 PM \
umbertofilippo<br> >>>>>>>> <<a \
href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>> wrote:<br> \
>>>>>>>><br> >>>>>>>> \
Hello everyone,<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> just a quick update: I did the \
KC's three<br> >>>>>>>> lines trick \
and it did the job.<br> >>>>>>>><br>
>>>>>>>> I am now stuck at yet another \
error, which is<br> >>>>>>>><br>
>>>>>>>> Generating the Makefiles...<br>
>>>>>>>> \
/home/umberto/games/python/pyqt-demo/sysroot-linux-64/Qt/bin/qmake<br> \
>>>>>>>> -recursive PyQt5.pro<br> \
>>>>>>>> sip-install:<br> \
>>>>>>>> \
'/home/umberto/games/python/pyqt-demo/sysroot-linux-64/Qt/bin/qmake <br> \
>>>>>>>><br> >>>>>>>> \
-recursive PyQt5.pro' failed returning 3<br> >>>>>>>> \
Info: creating stash file<br> >>>>>>>> \
/tmp/tmphwkq3ix1/.qmake.stash<br> >>>>>>>> \
Reading /tmp/tmphwkq3ix1/QtCore/QtCore.pro<br> >>>>>>>> \
Reading <br> >>>>>>>> \
/tmp/tmphwkq3ix1/QtNetwork/QtNetwork.pro<br> >>>>>>>> \
Reading /tmp/tmphwkq3ix1/QtGui/QtGui.pro<br> >>>>>>>> \
Reading <br> >>>>>>>> \
/tmp/tmphwkq3ix1/QtWidgets/QtWidgets.pro<br> >>>>>>>> \
Reading<br> >>>>>>>> \
/tmp/tmphwkq3ix1/QtX11Extras/QtX11Extras.pro<br> >>>>>>>> \
Project ERROR: Unknown module(s) in QT: <br> >>>>>>>> \
x11extras<br> >>>>>>>> \
pyqtdeploy-sysroot: execution of<br> >>>>>>>> \
'sip-install' failed: returned exit code 1<br> \
>>>>>>>><br> >>>>>>>><br>
>>>>>>>> I am attaching the whole log \
again in case<br> >>>>>>>> it's \
useful to better understand what went <br> >>>>>>>> \
wrong.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Any idea how to move on from \
here?<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Sorry for spamming but I hope \
this thread not<br> >>>>>>>> only will \
fix my issues but also will serve<br> >>>>>>>> \
as a reference for building with a Linux<br> >>>>>>>> \
machine (or me and for others hopefully).<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Umberto<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On 3/8/24 20:32, Kaiser Chief \
wrote:<br> >>>>>>>><br>
>>>>>>>> Hi,<br>
>>>>>>>><br>
>>>>>>>> \
"qt-everywhere-opensource-src-5.15.10.tar.xz"<br> \
>>>>>>>> is the right file you are \
looking for.<br> >>>>>>>><br>
>>>>>>>> Unfortunately,<br>
>>>>>>>> "pyqtdeploy/sysroot/plugins/Qt.py" is<br>
>>>>>>>> looking for \
'qt-everywhere-src-{}.tar.xz'<br> >>>>>>>><br>
>>>>>>>> You could fix that line \
(#53) in<br> >>>>>>>> \
"pyqtdeploy/sysroot/plugins/Qt.py"with:<br> \
>>>>>>>> ` \
qt-everywhere-opensource-src-{}.tar.xz `<br> >>>>>>>><br>
>>>>>>>> However, you might encounter \
problems<br> >>>>>>>> down the line \
probably...<br> >>>>>>>><br>
>>>>>>>> I would recommend to stick \
with Qt5.15.2<br> >>>>>>>> and do \
necessary changes.<br> >>>>>>>> \
Alternatively, you could built<br> >>>>>>>> \
qt-everywhere-opensource-src-5.15.10.tar.xz<br> >>>>>>>> \
from source manually and tell pyqtdeploy<br> >>>>>>>> \
where to look for Qt install (but that's<br> >>>>>>>> \
a bit more painful).<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Best regards,<br>
>>>>>>>><br>
>>>>>>>> KC<br>
>>>>>>>><br>
>>>>>>>> Le ven. 8 mars 2024 à \
19:21,<br> >>>>>>>> \
umbertofilippo<br> >>>>>>>> <<a \
href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>> a écrit :<br> \
>>>>>>>><br> >>>>>>>> \
Thanks again for the feedback,<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> I have just tried to \
update the<br> >>>>>>>> \
sysroot.toml like this:<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> # Qt<br>
>>>>>>>> \
##########################################################################<br> \
>>>>>>>><br> >>>>>>>> \
[Qt]<br> >>>>>>>> version = \
"5.15.10" # original was<br> >>>>>>>> \
"5.15.2"<br> >>>>>>>> \
edition = "opensource"<br> >>>>>>>><br>
>>>>>>>> and now it seems the \
link to download<br> >>>>>>>> the \
qt source can no longer be found.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Qt: installing \
component...<br> >>>>>>>> Qt: \
looking for<br> >>>>>>>> \
'qt-everywhere-src-5.15.10.tar.xz' in<br> >>>>>>>> \
/home/umberto/games/python/pyqt-demo.<br> >>>>>>>> \
Qt: downloading<br> >>>>>>>> \
'qt-everywhere-src-5.15.10.tar.xz'<br> >>>>>>>> \
from<br> >>>>>>>> <a \
href="https://download.qt.io/archive/qt/5.15/5.15.10/single/." rel="noreferrer" \
target="_blank">https://download.qt.io/archive/qt/5.15/5.15.10/single/.</a>..<br> \
>>>>>>>> Qt:<br> \
>>>>>>>> '<a \
href="https://download.qt.io/archive/qt/5.15/5.15.10/single/qt-everywhere-src-5.15.10.tar.xz" \
rel="noreferrer" target="_blank">https://download.qt.io/archive/qt/5.15/5.15.10/single/qt-everywhere-src-5.15.10.tar.xz</a>'<br>
>>>>>>>> was not found.<br>
>>>>>>>> pyqtdeploy-sysroot: Qt: \
unable to<br> >>>>>>>> find<br>
>>>>>>>> \
'/home/umberto/.pyqtdeploy/cache/qt-everywhere-src-5.15.10.tar.xz'. <br> \
>>>>>>>><br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> The only similar thing I \
can see in<br> >>>>>>>> <a \
href="https://download.qt.io/archive/qt/5.15/5.15.10/single/" rel="noreferrer" \
target="_blank">https://download.qt.io/archive/qt/5.15/5.15.10/single/</a><br> \
>>>>>>>> is<br> \
>>>>>>>> \
"qt-everywhere-opensource-src-5.15.10.tar.xz"<br> \
>>>>>>>><br> >>>>>>>><br>
>>>>>>>> If there is no easy way \
to solve this<br> >>>>>>>> you \
can think of I will probably try<br> >>>>>>>> \
to test adding those 3 lines to<br> >>>>>>>> \
qtbase/src/corelib/global/qglobal.h<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Thanks again so much for \
your kind<br> >>>>>>>> and \
feedback, much appreciated!<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Umberto<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On 3/8/24 19:38, Kaiser \
Chief wrote:<br> >>>>>>>><br>
>>>>>>>> To complement \
Charles' answer, it<br> >>>>>>>> \
seems like someone found a quick<br> >>>>>>>> \
fix with GCC11, in case you are<br> >>>>>>>> \
reluctant to move back to GCC10:<br> >>>>>>>> <a \
href="https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ubuntu-22-04/2" \
rel="noreferrer" target="_blank">https://forum.qt.io/topic/136672/error-installing-qt-everywhere-src-5-15-2-on-ubuntu-22-04/2</a><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> add these 3 lines at \
the top of<br> >>>>>>>> \
qtbase/src/corelib/global/qglobal.h<br> >>>>>>>> \
: (I haven't tested that)<br> >>>>>>>> \
```<br> >>>>>>>> #ifdef \
__cplusplus<br> >>>>>>>> \
#include <limits><br> >>>>>>>> \
#endif<br> >>>>>>>> ```<br>
>>>>>>>><br>
>>>>>>>> For ref, the QT bug \
associated<br> >>>>>>>> \
is:<br> >>>>>>>> <a \
href="https://bugreports.qt.io/browse/QTBUG-90395" rel="noreferrer" \
target="_blank">https://bugreports.qt.io/browse/QTBUG-90395</a><br> \
>>>>>>>> It has been fixed \
for ** QT5.15.9<br> >>>>>>>> <<a \
href="https://bugreports.qt.io/issues/?jql=project+%3D+QTBUG+AND+fixVersion+%3D+5.15.9" \
rel="noreferrer" target="_blank">https://bugreports.qt.io/issues/?jql=project+%3D+QTBUG+AND+fixVersion+%3D+5.15.9</a>>,<br>
>>>>>>>> but since you are \
using the<br> >>>>>>>> \
default QT5.15.2, well it's not<br> >>>>>>>> \
fixed.<br> >>>>>>>><br>
>>>>>>>> Best regards,<br>
>>>>>>>><br>
>>>>>>>> KC<br>
>>>>>>>><br>
>>>>>>>> Le ven. 8 mars 2024 \
à 18:28,<br> >>>>>>>> Charles \
<<a href="mailto:peacech@gmail.com" target="_blank">peacech@gmail.com</a>> a \
<br> >>>>>>>> écrit :<br>
>>>>>>>><br>
>>>>>>>> With C++ the \
relevant error<br> >>>>>>>> \
is the first error line, the<br> >>>>>>>> \
rest is usually noise. If you<br> >>>>>>>> \
google gcc numeric_limits is<br> >>>>>>>> \
not a class template you will<br> >>>>>>>> \
find<br> >>>>>>>> <a href="https://bugs.gentoo.org/768342" \
rel="noreferrer" target="_blank">https://bugs.gentoo.org/768342</a><br> \
>>>>>>>><br> >>>>>>>> \
If you use gcc 11 then use<br> >>>>>>>> \
gcc 10 otherwise patch qt<br> >>>>>>>> \
headers as in<br> >>>>>>>> <a \
href="https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d54be896563102786238893a9c645b8bdb43ef" \
rel="noreferrer" target="_blank">https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d54be896563102786238893a9c645b8bdb43ef</a><br>
>>>>>>>><br>
>>>>>>>> On Sat, Mar 9, \
2024 at<br> >>>>>>>> \
12:49 AM umbertofilippo<br> >>>>>>>> <<a \
href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>><br> \
>>>>>>>> wrote:<br> \
>>>>>>>><br> >>>>>>>> \
Moving on,<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> I have tried \
to remove<br> >>>>>>>> \
OpenSSL from the<br> >>>>>>>> "sysroot.toml" since \
it<br> >>>>>>>> is \
not required, and now<br> >>>>>>>> \
the process seems to go<br> >>>>>>>> \
further, but I am stuck<br> >>>>>>>> \
at a new error:<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Verifying \
host<br> >>>>>>>> \
architecture 'linux-64'...<br> >>>>>>>> \
Verifying target<br> >>>>>>>> \
architecture 'linux-64'...<br> >>>>>>>> \
zlib: verifying...<br> >>>>>>>> \
Qt: verifying...<br> >>>>>>>> \
Python: verifying...<br> >>>>>>>> \
SIP: verifying...<br> >>>>>>>> \
PyQt: verifying...<br> >>>>>>>> \
PyQt3D: verifying...<br> >>>>>>>> \
PyQtChart: verifying...<br> >>>>>>>> \
PyQtDataVisualization:<br> >>>>>>>> \
verifying...<br> >>>>>>>> PyQtNetworkAuth: verifying...<br>
>>>>>>>> PyQtPurchasing: verifying...<br>
>>>>>>>> QScintilla: \
verifying...<br> >>>>>>>> \
zlib: installing <br> >>>>>>>> component...<br>
>>>>>>>> Qt: \
installing <br> >>>>>>>> component...<br>
>>>>>>>> Qt: \
downloading<br> >>>>>>>> \
'qt-everywhere-src-5.15.2.tar.xz'<br> >>>>>>>> \
from<br> >>>>>>>> <a \
href="https://download.qt.io/archive/qt/5.15/5.15.2/single/." rel="noreferrer" \
target="_blank">https://download.qt.io/archive/qt/5.15/5.15.2/single/.</a>..<br> \
>>>>>>>> pyqtdeploy-sysroot:<br> \
>>>>>>>> execution \
of<br> >>>>>>>> './configure' failed:<br>
>>>>>>>> returned \
exit code 2<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> What can be \
the cause of<br> >>>>>>>> \
this new error? I see<br> >>>>>>>> \
there is a new folder now<br> >>>>>>>> \
in the original pyqt demo<br> >>>>>>>> \
directory called<br> >>>>>>>> "sysroot-linux-64" \
and<br> >>>>>>>> \
inside I see there's<br> >>>>>>>> \
"sysroot-linux-64/build/qt-everywhere-src-5.15.2"<br> \
>>>>>>>> with a \
"configure" file,<br> >>>>>>>> \
but other than this I<br> >>>>>>>> \
have no clue sincerely on<br> >>>>>>>> \
why it is failing.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> I have \
attached the<br> >>>>>>>> \
content of running<br> >>>>>>>> build-demo.py with \
--verbose<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Hope someone \
can help me.<br> >>>>>>>> \
Thanks.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On 3/8/24 \
12:18,<br> >>>>>>>> umbertofilippo wrote:<br>
>>>>>>>><br>
>>>>>>>> Hi and \
many thanks<br> >>>>>>>> \
for you feedback!<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> First of \
all let me<br> >>>>>>>> \
tell that I am very<br> >>>>>>>> interested in finding<br>
>>>>>>>> a \
solution to this<br> >>>>>>>> \
problem, and I will<br> >>>>>>>> \
try to do my best if<br> >>>>>>>> \
I can contribute in<br> >>>>>>>> \
case it's needed.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> I just \
checked, and<br> >>>>>>>> \
this is what I can<br> >>>>>>>> \
see in my<br> >>>>>>>> /usr/include/openssl/opensslv.h<br>
>>>>>>>> file. \
Cannot tell<br> >>>>>>>> \
though if pyqtdeploy<br> >>>>>>>> \
is supposed to work<br> >>>>>>>> \
or not given these<br> >>>>>>>> \
lines...<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> /*<br>
>>>>>>>> * \
SECTION 4:<br> >>>>>>>> \
BACKWARD COMPATIBILITY<br> >>>>>>>> \
*/<br> >>>>>>>><br>
>>>>>>>> # \
define<br> >>>>>>>> OPENSSL_VERSION_TEXT<br>
>>>>>>>> \
"OpenSSL 3.0.2 15 Mar<br> >>>>>>>> \
2022"<br> >>>>>>>><br>
>>>>>>>> /* \
Synthesize<br> >>>>>>>> OPENSSL_VERSION_NUMBER<br>
>>>>>>>> with the \
layout<br> >>>>>>>> 0xMNN00PPSL */<br>
>>>>>>>> # \
ifdef<br> >>>>>>>> OPENSSL_VERSION_PRE_RELEASE<br>
>>>>>>>> # \
define<br> >>>>>>>> _OPENSSL_VERSION_PRE_RELEASE<br>
>>>>>>>> 0x0L<br>
>>>>>>>> # \
else<br> >>>>>>>> \
# define<br> >>>>>>>> _OPENSSL_VERSION_PRE_RELEASE<br>
>>>>>>>> 0xfL<br>
>>>>>>>> # \
endif<br> >>>>>>>> \
# define<br> >>>>>>>> OPENSSL_VERSION_NUMBER \<br>
>>>>>>>> \
(<br> >>>>>>>> (OPENSSL_VERSION_MAJOR<<28)<br>
>>>>>>>> \<br>
>>>>>>>> |(OPENSSL_VERSION_MINOR<<20)<br>
>>>>>>>> \<br>
>>>>>>>> |(OPENSSL_VERSION_PATCH<<4)<br>
>>>>>>>> \<br>
>>>>>>>> |_OPENSSL_VERSION_PRE_RELEASE<br>
>>>>>>>> )<br>
>>>>>>>><br>
>>>>>>>> # ifdef \
__cplusplus<br> >>>>>>>> \
}<br> >>>>>>>> # \
endif<br> >>>>>>>><br>
>>>>>>>> # \
include<br> >>>>>>>> <openssl/macros.h><br>
>>>>>>>> # \
ifndef<br> >>>>>>>> OPENSSL_NO_DEPRECATED_3_0<br>
>>>>>>>> # \
define<br> >>>>>>>> HEADER_OPENSSLV_H<br>
>>>>>>>> # \
endif<br> >>>>>>>><br>
>>>>>>>> \
#endif<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
Umberto<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On \
3/7/24 19:11,<br> >>>>>>>> \
Kaiser Chief wrote:<br> >>>>>>>><br>
>>>>>>>> \
Hi,<br> >>>>>>>><br>
>>>>>>>> To \
complement my<br> >>>>>>>> previous message<br>
>>>>>>>> (and \
after doing<br> >>>>>>>> \
a quick search<br> >>>>>>>> through the<br>
>>>>>>>> source code):<br>
>>>>>>>> * \
The script<br> >>>>>>>> "OpenSSL.py" is<br>
>>>>>>>> looking for<br>
>>>>>>>> "OPENSSL_VERSION_NUMBER"<br>
>>>>>>>> \
in<br> >>>>>>>> \
"/usr/include/openssl/opensslv.h"<br> >>>>>>>> \
* In OpenSSL<br> >>>>>>>> 1.1.1 (which is<br>
>>>>>>>> installed on my<br>
>>>>>>>> Linux), I can see<br>
>>>>>>>> the \
line "#define<br> >>>>>>>> \
OPENSSL_VERSION_NUMBER"<br> >>>>>>>> \
in<br> >>>>>>>> \
"/usr/include/openssl/opensslv.h".<br> >>>>>>>><br>
>>>>>>>> Can \
you check<br> >>>>>>>> \
that you have<br> >>>>>>>> \
that line in your<br> >>>>>>>> header file too?<br>
>>>>>>>><br>
>>>>>>>> If \
not, it's<br> >>>>>>>> probably that<br>
>>>>>>>> OpenSSL updated<br>
>>>>>>>> their header<br>
>>>>>>>> files and put the<br>
>>>>>>>> VERSION_NUMBER<br>
>>>>>>>> somewhere else...<br>
>>>>>>>><br>
>>>>>>>> If \
you want to<br> >>>>>>>> \
run the demo, I<br> >>>>>>>> would recommend<br>
>>>>>>>> you \
install the<br> >>>>>>>> default versions<br>
>>>>>>>> as \
written in the<br> >>>>>>>> `sysroot.toml`<br>
>>>>>>>><br>
>>>>>>>> If \
there are<br> >>>>>>>> fixes to make for<br>
>>>>>>>> each \
"version<br> >>>>>>>> grepping", I<br>
>>>>>>>> believe that Phil<br>
>>>>>>>> had \
a way to<br> >>>>>>>> contribute to<br>
>>>>>>>> plugins for<br>
>>>>>>>> pyqtdeploy, but<br>
>>>>>>>> can't remember<br>
>>>>>>>> where...<br>
>>>>>>>><br>
>>>>>>>> Best \
regards,<br> >>>>>>>><br>
>>>>>>>> \
KC<br> >>>>>>>><br>
>>>>>>>> Le jeu. 7 mars<br>
>>>>>>>> 2024 \
à 17:56,<br> >>>>>>>> Kaiser Chief<br>
>>>>>>>> <<a href="mailto:kaiser.chiefmail@gmail.com" \
target="_blank">kaiser.chiefmail@gmail.com</a>><br> \
>>>>>>>> a \
écrit :<br> >>>>>>>><br>
>>>>>>>> Hi,<br>
>>>>>>>><br>
>>>>>>>> According to<br>
>>>>>>>> the sysroot<br>
>>>>>>>> help page<br>
>>>>>>>> (<a \
href="https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/sysroot.html#openssl" \
rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/sysroot.html#openssl</a>), \
<br> >>>>>>>><br>
>>>>>>>> if you have<br>
>>>>>>>> configured<br>
>>>>>>>> your<br>
>>>>>>>> `sysroot.toml`<br>
>>>>>>>> like this:<br>
>>>>>>>> ```<br>
>>>>>>>><br>
>>>>>>>> [OpenSSL.linux]<br>
>>>>>>>> version = ""<br>
>>>>>>>> install_from_source = false<br>
>>>>>>>><br>
>>>>>>>> ```<br>
>>>>>>>><br>
>>>>>>>> Then, on<br>
>>>>>>>> Linux, the<br>
>>>>>>>> OpenSSL<br>
>>>>>>>> library used<br>
>>>>>>>> will be the<br>
>>>>>>>> one installed<br>
>>>>>>>> on your OS<br>
>>>>>>>> with no<br>
>>>>>>>> assumption on<br>
>>>>>>>> the version<br>
>>>>>>>> (so that<br>
>>>>>>>> should work<br>
>>>>>>>> in your example).<br>
>>>>>>>> Now, that's<br>
>>>>>>>> what is<br>
>>>>>>>> provided in<br>
>>>>>>>> the demo<br>
>>>>>>>> folder for<br>
>>>>>>>> `pyqtdeploy-3.3.0`,<br>
>>>>>>>> so that's odd.<br>
>>>>>>>><br>
>>>>>>>> Therefore, it<br>
>>>>>>>> could be that<br>
>>>>>>>> the<br>
>>>>>>>> `pyqtdeploy-sysroot`<br>
>>>>>>>> functionality<br>
>>>>>>>> is struggling<br>
>>>>>>>> to extract<br>
>>>>>>>> the version<br>
>>>>>>>> number from<br>
>>>>>>>> your<br>
>>>>>>>> OS-installed<br>
>>>>>>>> OpenSSL.<br>
>>>>>>>><br>
>>>>>>>> ---<br>
>>>>>>>><br>
>>>>>>>> I am not of<br>
>>>>>>>> great help<br>
>>>>>>>> with that<br>
>>>>>>>> comment,<br>
>>>>>>>> however, I<br>
>>>>>>>> would like to<br>
>>>>>>>> suggest, if<br>
>>>>>>>> it's your<br>
>>>>>>>> first time<br>
>>>>>>>> with<br>
>>>>>>>> pyqtdeploy to<br>
>>>>>>>> give a try at<br>
>>>>>>>> my Github repo:<br>
>>>>>>>><br>
>>>>>>>> <a \
href="https://github.com/achille-martin/pyqt-crom" rel="noreferrer" \
target="_blank">https://github.com/achille-martin/pyqt-crom</a><br> \
>>>>>>>><br> >>>>>>>><br>
>>>>>>>> This repo<br>
>>>>>>>> aims at<br>
>>>>>>>> demonstrating<br>
>>>>>>>> how beginner<br>
>>>>>>>> devs,<br>
>>>>>>>> intermediate<br>
>>>>>>>> devs and<br>
>>>>>>>> expert devs<br>
>>>>>>>> can benefit<br>
>>>>>>>> from pyqtdeploy.<br>
>>>>>>>> It also<br>
>>>>>>>> offers a few<br>
>>>>>>>> simple<br>
>>>>>>>> tutorials to<br>
>>>>>>>> get started<br>
>>>>>>>> with<br>
>>>>>>>> pyqtdeploy<br>
>>>>>>>> (simpler than<br>
>>>>>>>> the demo in<br>
>>>>>>>> the official<br>
>>>>>>>> pyqtdeploy<br>
>>>>>>>> package) and<br>
>>>>>>>> optimises<br>
>>>>>>>> bits of the<br>
>>>>>>>> tool<br>
>>>>>>>> regarding the<br>
>>>>>>>> user<br>
>>>>>>>> interface<br>
>>>>>>>> (for now).<br>
>>>>>>>><br>
>>>>>>>> I can support<br>
>>>>>>>> you with your<br>
>>>>>>>> initial<br>
>>>>>>>> journey on<br>
>>>>>>>> discovering<br>
>>>>>>>> pyqtdeploy<br>
>>>>>>>> through my<br>
>>>>>>>> repo if you wish.<br>
>>>>>>>><br>
>>>>>>>> Best regards,<br>
>>>>>>>><br>
>>>>>>>> KC<br>
>>>>>>>><br>
>>>>>>>> Le jeu. 7<br>
>>>>>>>> mars 2024<br>
>>>>>>>> à 17:06,<br>
>>>>>>>> umbertofilippo<br>
>>>>>>>> <<a href="mailto:umbertofilippo@tiscali.it" \
target="_blank">umbertofilippo@tiscali.it</a>><br> \
>>>>>>>> a écrit :<br> >>>>>>>><br>
>>>>>>>> \
Hello<br> >>>>>>>> \
everyone,<br> >>>>>>>> \
first<br> >>>>>>>> \
time here<br> >>>>>>>> \
for me :)<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
I was<br> >>>>>>>> \
giving<br> >>>>>>>> \
pyqtdeploy<br> >>>>>>>> \
a try and<br> >>>>>>>> \
I am<br> >>>>>>>> \
stuck at<br> >>>>>>>> \
the very<br> >>>>>>>> \
first<br> >>>>>>>> \
step of<br> >>>>>>>> \
the<br> >>>>>>>> \
"Building<br> >>>>>>>> \
the Demo"<br> >>>>>>>> \
page.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
I am on a<br> >>>>>>>> \
Linux-64<br> >>>>>>>> \
machine.<br> >>>>>>>> \
I am<br> >>>>>>>> \
following<br> >>>>>>>> \
the<br> >>>>>>>> \
<br> >>>>>>>> tutorial at<br>
>>>>>>>> <a \
href="https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/demo.html" \
rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/demo.html</a> \
<br> >>>>>>>><br>
>>>>>>>> \
and<br> >>>>>>>> \
I have<br> >>>>>>>> \
downloaded<br> >>>>>>>> \
the demo<br> >>>>>>>> \
files from<br> >>>>>>>> <a \
href="https://files.pythonhosted.org/packages/44/d4/978017382f0ecc48601944c3fc0f58a5c5075a1d3acd48d09c11ee471b05/pyqtdeploy-3.3.0.tar.gz" \
rel="noreferrer" target="_blank">https://files.pythonhosted.org/packages/44/d4/9780173 \
82f0ecc48601944c3fc0f58a5c5075a1d3acd48d09c11ee471b05/pyqtdeploy-3.3.0.tar.gz</a><br> \
>>>>>>>><br> >>>>>>>><br>
>>>>>>>> \
I have<br> >>>>>>>> \
created a<br> >>>>>>>> \
virtual<br> >>>>>>>> \
python<br> >>>>>>>> \
<br> >>>>>>>> environment<br>
>>>>>>>> \
with the<br> >>>>>>>> \
following<br> >>>>>>>> \
packages<br> >>>>>>>> \
and<br> >>>>>>>> \
versions<br> >>>>>>>> \
installed:<br> >>>>>>>><br>
>>>>>>>> \
<br> >>>>>>>> Name,Version<br>
>>>>>>>> _libgcc_mutex,0.1<br>
>>>>>>>> _openmp_mutex,4.5<br>
>>>>>>>> \
<br> >>>>>>>> bzip2,1.0.8<br>
>>>>>>>> ca-certificates,2024.2.2<br>
>>>>>>>> ld_impl_linux-64,2.40<br>
>>>>>>>> \
<br> >>>>>>>> libexpat,2.6.1<br>
>>>>>>>> \
<br> >>>>>>>> libffi,3.4.2<br>
>>>>>>>> \
<br> >>>>>>>> libgcc-ng,13.2.0<br>
>>>>>>>> \
<br> >>>>>>>> libgomp,13.2.0<br>
>>>>>>>> \
<br> >>>>>>>> libnsl,2.0.1<br>
>>>>>>>> \
<br> >>>>>>>> libsqlite,3.45.1<br>
>>>>>>>> \
<br> >>>>>>>> libuuid,2.38.1<br>
>>>>>>>> \
<br> >>>>>>>> libxcrypt,4.4.36<br>
>>>>>>>> \
<br> >>>>>>>> libzlib,1.2.13<br>
>>>>>>>> \
<br> >>>>>>>> ncurses,6.4<br>
>>>>>>>> \
<br> >>>>>>>> openssl,3.2.1<br>
>>>>>>>> \
pip,24.0<br> >>>>>>>> \
<br> >>>>>>>> pyqt5,5.15.10<br>
>>>>>>>> \
<br> >>>>>>>> pyqt5-qt5,5.15.2<br>
>>>>>>>> pyqt5-sip,12.13.0<br>
>>>>>>>> \
<br> >>>>>>>> pyqtdeploy,3.3.0<br>
>>>>>>>> \
<br> >>>>>>>> python,3.12.2<br>
>>>>>>>> \
<br> >>>>>>>> readline,8.2<br>
>>>>>>>> setuptools,69.1.1<br>
>>>>>>>> \
tk,8.6.13<br> >>>>>>>> \
<br> >>>>>>>> toml,0.10.2<br>
>>>>>>>> \
<br> >>>>>>>> tzdata,2024a<br>
>>>>>>>> \
<br> >>>>>>>> wheel,0.42.0<br>
>>>>>>>> \
xz,5.2.6<br> >>>>>>>><br>
>>>>>>>> \
I have<br> >>>>>>>> \
tried to<br> >>>>>>>> \
run the<br> >>>>>>>> \
command<br> >>>>>>>> \
"python<br> >>>>>>>> \
<br> >>>>>>>> build-demo.py"<br>
>>>>>>>> \
straight<br> >>>>>>>> \
away,<br> >>>>>>>> \
but I am<br> >>>>>>>> \
getting<br> >>>>>>>> \
the<br> >>>>>>>> \
following<br> >>>>>>>> \
error:<br> >>>>>>>><br>
>>>>>>>> \
OpenSSL:<br> >>>>>>>> \
<br> >>>>>>>> verifying...<br>
>>>>>>>> \
OpenSSL:<br> >>>>>>>> \
<br> >>>>>>>> determining<br>
>>>>>>>> \
installed<br> >>>>>>>> \
version <br> >>>>>>>> from<br>
>>>>>>>> '/usr/include/openssl/opensslv.h'.<br>
>>>>>>>> pyqtdeploy-sysroot:<br>
>>>>>>>> \
OpenSSL:<br> >>>>>>>> \
unable to<br> >>>>>>>> \
extract<br> >>>>>>>> \
the<br> >>>>>>>> \
version<br> >>>>>>>> \
number.<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
OpenSSL<br> >>>>>>>> \
is<br> >>>>>>>> \
installed<br> >>>>>>>> \
on my<br> >>>>>>>> \
machine<br> >>>>>>>> \
and the<br> >>>>>>>> \
result of<br> >>>>>>>> \
doing<br> >>>>>>>> \
"openssl<br> >>>>>>>> \
version"<br> >>>>>>>> \
is<br> >>>>>>>> \
"OpenSSL<br> >>>>>>>> \
3.2.1 30<br> >>>>>>>> \
Jan 2024<br> >>>>>>>> \
(Library:<br> >>>>>>>> \
OpenSSL<br> >>>>>>>> \
3.2.1 30<br> >>>>>>>> \
Jan 2024)"<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
Am I<br> >>>>>>>> \
supposed<br> >>>>>>>> \
to<br> >>>>>>>> \
install<br> >>>>>>>> \
the exact<br> >>>>>>>> \
versions<br> >>>>>>>> \
of all<br> >>>>>>>> \
the<br> >>>>>>>> \
components<br> >>>>>>>> \
found<br> >>>>>>>> \
in the<br> >>>>>>>> \
<br> >>>>>>>> ""sysroot.toml"<br>
>>>>>>>> \
file to<br> >>>>>>>> \
be able<br> >>>>>>>> \
to<br> >>>>>>>> \
<br> >>>>>>>> run "python<br>
>>>>>>>> \
<br> >>>>>>>> build-demo.py"<br>
>>>>>>>><br>
>>>>>>>> \
<br> >>>>>>>> successfully?<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
Thanks,<br> >>>>>>>><br>
>>>>>>>><br>
>>>>>>>> \
Umberto<br> >>>>>>>><br>
>>>>>>>><br>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic