Description
I've successfully built PySide2 on numerous platforms, but I'm getting this error on CentOS 7. Please see here for my other successful builds:
https://fredrikaverpil.github.io/2016/08/17/compiling-pyside2/
[ 0%] Building CXX object libpyside/CMakeFiles/pyside2.dir/destroylistener.cpp.o [ 0%] Building CXX object libpyside/CMakeFiles/pyside2.dir/signalmanager.cpp.o /cmake-3.0.0/pyside-setup/pyside_build/py2.7-qt5.6.1-64bit-release/pyside2/libpyside/signalmanager.cpp:48:37: fatal error: private/qv4engine_p.h: No such file or directory #include <private/qv4engine_p.h> ^ compilation terminated. make[2]: *** [libpyside/CMakeFiles/pyside2.dir/signalmanager.cpp.o] Error 1 make[1]: *** [libpyside/CMakeFiles/pyside2.dir/all] Error 2 make: *** [all] Error 2 error: Error compiling pyside2
This is what I did to arrive here:
yum install epel-release yum groupinstall "Development Tools" yum install qt5-qtbase-devel yum install qt5-* libxslt libxml2 yum install wget wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz gunzip cmake-3.0.0.tar.gz tar xvf cmake-3.0.0.tar cd cmake-3.0.0 ./bootstrap gmake gmake install yum install python-pip python-devel # or python3-pip pip install wheel git clone --recursive https://codereview.qt-project.org/pyside/pyside-setup python setup.py bdist_wheel --ignore-git --qmake=/usr/lib64/qt5/bin/qmake-qt5 --cmake=/root/cmake-3.0.0/bin/cmake
Attachments
For Gerrit Dashboard: PYSIDE-342 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
185320,3 | Fix PySide2 build error on CentOS 7 (qv4engine) | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |