mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
This forward-ports commita99d3432f7to 5.9, which should have been done in6bf5691ca8but accidentally left out. It reuses parts of commita5f3f8ed48that was initially cherry-picked to 5.6. Task-number: QTAUTO-345 Task-number: QTBUG-63133 Change-Id: Ib401dd06bfc4d4aaf8b8ce1a8509697993d4397e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
19 lines
586 B
Bash
19 lines
586 B
Bash
# provides: python development libraries
|
|
# version: provided by default Linux distribution repository
|
|
# needed to build pyside
|
|
sudo yum install -y python-devel python-virtualenv
|
|
|
|
# install the EPEL repository which provides python3
|
|
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
|
sudo rpm -Uvh epel-release-latest-7.noarch.rpm
|
|
sudo rm -f epel-release-latest-7.noarch.rpm
|
|
|
|
# install python3
|
|
sudo yum install -y python34-devel
|
|
|
|
# install pip3
|
|
wget https://bootstrap.pypa.io/get-pip.py
|
|
sudo python3 get-pip.py
|
|
sudo rm -f get-pip.py
|
|
sudo pip3 install virtualenv
|