[PySide] Problems with install on GnuLinux, Mint

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Fri Feb 22 14:14:39 CET 2019

Hello David,

just run the same line you mentioned "python setup.py build .... " but instead
of "build" use "install", that will move the compiled things to the site-packages directory.


From: DAVID ALEJANDRO PINEDA <dpineda at uchile.cl>
Sent: 22 February 2019 14:11
To: Cristián Maureira-Fredes
Cc: pyside at qt-project.org
Subject: Re: [PySide] Problems with install on GnuLinux, Mint

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?


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<mailto: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.


From: PySide <pyside-bounces at qt-project.org<mailto:pyside-bounces at qt-project.org>> on behalf of DAVID ALEJANDRO PINEDA <dpineda at uchile.cl<mailto:dpineda at uchile.cl>>
Sent: 21 February 2019 16:50
To: pyside at qt-project.org<mailto: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'
Detecting inconsistencies in class model...  [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>
  File "/home/david/ChartsGNSS/pyside-setup/build_scripts/setup_runner.py", line 157, in run_setup
    raise RuntimeError(msg)
setup.py invocation failed with exit code: 1.

What can i do? how?

Any help?


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

More information about the PySide mailing list