[PySide] pyside build using pyenv-installed local Python fails, using system-installed Shiboken2 config/cmake file ?

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Thu Feb 27 11:29:49 CET 2020


Hello,

On 2/26/20 11:40 PM, PGNet Dev wrote:
> On 2/26/20 9:57 AM, PGNet Dev wrote:
> <snip>
> if instead of using
> 
> 	python setup.py install ...
> 
> i use cmake build directly
> 
> 	mkdir build
> 	cd build
> 	cmake ..
> 	make -j
> 
> the config + build completes without apparent error, correctly finding shiboken/pyside cmake files, etc.
> <snip>

Maybe you can rely on the cmake approach,
for example look at what the folks at Arch do:

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/pyside2

The same with shiboken2 too:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/shiboken2

Mind sharing how did you build/install shiboken?
zypper?

Cheers


-- 
Dr. Cristian Maureira-Fredes
R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
--


More information about the PySide mailing list