[PySide] Problems with install on GnuLinux, Mint

DAVID ALEJANDRO PINEDA dpineda at uchile.cl
Fri Feb 22 14:11:12 CET 2019


Hi.
Thanks for the tip.

Now i face other problems. The PySide2 module is 'built' corrrectly. But
the installer doesn't move the package to the 'site-package' folder, and
the other files that must be to run correctly the examples and other
sofware developed with pyside2.

How or what are the folder, files, and where i ahve to put?

Thanks!

David Pineda Osorio
Ingeniero Civil Electricista
Ingeniero en área Geodesia del Centro Sismológico
f: +56 9 82142267


El jue., 21 feb. 2019 a las 13:23, Cristián Maureira-Fredes (<
Cristian.Maureira-Fredes at qt.io>) escribió:

> Hello David,
>
> Try to removing "RemoteObjects" from the list
> in `sources/pyside2/CMakeLists.txt`:
>
> # Collect all optional modules
> set(ALL_OPTIONAL_MODULES Xml ... RemoteObjects...)
>
> There seems to be a but that will fix on the next Qt release.
>
> Cheers
>
> ________________________________________
> From: PySide <pyside-bounces at qt-project.org> on behalf of DAVID ALEJANDRO
> PINEDA <dpineda at uchile.cl>
> Sent: 21 February 2019 16:50
> To: pyside at qt-project.org
> Subject: [PySide] Problems with install on GnuLinux, Mint
>
> Hi Guys, i glad to say hello here.
>
> Now, i'm tryinh to traslate some of my GUI from pyqt to PySide2 because
> has better documentation and support.
> The problem is that i need to build from scratch, because the version for
> the PySide2 module is old.
> So, I have to use the clang path and so on
> To install the PySide2 module I'm using this command:
> python setup.py build --qmake=/opt/Qt/5.12.1/gcc_64/bin/qmake --ignore-git
> --parallel=4 --build-tests
> Like on the documentation said, but at the end shows me an error that i
> unknow.
> Last lines:
> """
> Fixing class inheritance...                  qt.shiboken: (quickwidgets)
> class 'QAccessibleWidget' inherits from unknown base class
> 'QAccessibleActionInterface'
> qt.shiboken: (quickwidgets) class not found for setup inheritance
> 'QAccessibleActionInterface'
> [WARNING]
> Detecting inconsistencies in class model...  [OK]
> [OK]
>
> Done, 9640ms, 2 warnings (1105 known issues)
> [  4%] Built target QtQuickWidgets_generator
> Makefile:140: recipe for target 'all' failed
> make: *** [all] Error 2
> error: Error compiling pyside2
> Traceback (most recent call last):
>   File "setup.py", line 296, in <module>
>     setup_runner.run_setup()
>   File
> "/home/david/ChartsGNSS/pyside-setup/build_scripts/setup_runner.py", line
> 157, in run_setup
>     raise RuntimeError(msg)
> RuntimeError:
> setup.py invocation failed with exit code: 1.
> """
>
> What can i do? how?
>
> Any help?
>
> Thanks!
>
> David Pineda Osorio
> Ingeniero Civil Electricista
> Ingeniero en área Geodesia del Centro Sismológico
> f: +56 9 82142267
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20190222/1ae3a4a8/attachment.html>


More information about the PySide mailing list