PySide does not support Qt 5 You need to build PySide against Qt 4 ============================== Package version: 1.2.1 Build type: Release Build tests: False --- Make path: /usr/bin/make Make generator: Unix Makefiles Make jobs: --- Script directory: /tmp/pip_build_root/PySide Sources directory: /tmp/pip_build_root/PySide/sources Build directory: /tmp/pip_build_root/PySide/pyside_build/py3.3-qt5.2.0-64bit-release Install directory: /tmp/pip_build_root/PySide/pyside_install/py3.3-qt5.2.0-64bit-release Python site-packages install directory: /tmp/pip_build_root/PySide/pyside_install/py3.3-qt5.2.0-64bit-release/lib64/python3.3/site-packages --- Python executable: /usr/bin/python3 Python includes: /usr/include/python3.3m Python library: /usr/lib64/libpython3.3m.so Python prefix: /usr Python scripts: /usr/bin --- Qt qmake: /usr/bin/qmake Qt version: 5.2.0 Qt bins: /usr/lib64/qt5/bin Qt plugins: /usr/lib64/qt5/plugins --- OpenSSL libs: None ============================== ...
2014-03-27 14:37 GMT+01:00 Jonas Thiem <jonasth...@googlemail.com>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everyone, > > I wanted to use PySide with Python 3, but sadly Mageia 4 doesn't ship > PySide packages for Python 3 (just 2.x). Therefore I tried installing > it with python3-pip. Unfortunately, it doesn't work: > > > Excerpt from the terminal output (full output is attached): > > ... > > [ 4%] Building CXX object > ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o > > In file included from /usr/lib64/qt5/include/QtCore/qchar.h:45:0, > > from /usr/lib64/qt5/include/QtCore/qhash.h:45, > > from /usr/lib64/qt5/include/QtCore/QHash:1, > > from > /tmp/pip_build_root/PySide/sources/shiboken/ApiExtractor/typesystem.h:27, > > from > > /tmp/pip_build_root/PySide/sources/shiboken/ApiExtractor/abstractmetalang.h:27, > > from > /tmp/pip_build_root/PySide/sources/shiboken/ApiExtractor/apiextractor.h:28, > > from > > /tmp/pip_build_root/PySide/sources/shiboken/ApiExtractor/apiextractor.cpp:24: > > /usr/lib64/qt5/include/QtCore/qglobal.h:996:4: error: #error "You must > build your code with position independent code if Qt was built with > - -reduce-relocations. " "Compile your code with -fPIC or -fPIE." > > # error "You must build your code with position independent code if > Qt was built with -reduce-relocations. "\ > > ^ > > /tmp/pip_build_root/PySide/sources/shiboken/ApiExtractor/apiextractor.cpp: > In function 'bool preprocess(const QString&, QFile&, const QStringList&)': > > > /tmp/pip_build_root/PySide/sources/shiboken/ApiExtractor/apiextractor.cpp:273:38: > error: 'convertSeparators' is not a member of 'QDir' > > ... > > > So it appears all that is missing is a simple -fPIC compile option. Is > there a chance this can fixed in the near future? I'm happy to retest > stuff or modify files if given suitable instructions for further testing. > > Regards, > Jonas Thiem > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQIcBAEBAgAGBQJTNCmXAAoJEBIDTbbx8YkerUoP/jVlm+ATNAMCLlJnYUAU7jbE > gjnugoHT5SGIQRfwH2KvfXpK6siYqFcj9pkJkBzyh1leTSwnc/Vw9nCqrXwGbPcj > Rf1Hs1VHeXRKwqE5wBFVMQZmGBseEjcvt9atakvgn/1buoI4rYs8vJy2IDOoDnQ8 > aVJwlGUsbRd7QKUbaKg2jhM4Z04Z3KTS/OOsyhfYvdoWrg8vCe+uaX4LfxEU1v7i > hMkdL+fUyWuQifKpBcC3ChxG7Jrns1a6+4aNasKPjNeMxI50ml/Kk4S765xDOZO4 > ddJpklZKSXjMf6gET1agTEe1h4SmUcQ+Mjl/6IhMEI4cmqJOJ00ar+bV/joWBNX8 > VjAV06TjPf3CYbHPykv9v1yJdeHef5aSdy3qpVja6kD1FGFGclHtMgWiLFFbmHfF > xF5gdU2NgdzLdFX8s4cBc579wK0BPZpfMjDWzUzBaPt/rFVFiYGCd0MakQQeMZrI > 54g3x1EfnjVF8Lk91Rnj5IEEHfdi7XjTAhC7olCI2CIpq1LNOluTDybxA/diyHm/ > 5tw+coCoIWzaUOZY1UV1PWa2JAef0LqdWMKnPzqNVpr3eaMZm5XmuDGao4kLgGo6 > PeQB6WdUgZtQawoEW1sPb6hMMTWk4TOx8Zzx6tLoMQOtXATGqmf23Luey1Cv1g5f > N3ZOfyLsRt7H3UOP3hiU > =pc03 > -----END PGP SIGNATURE----- > > _______________________________________________ > PySide mailing list > PySide@qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > >
_______________________________________________ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside