-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added test * Update to 5.12; fix dynamic library inking for linux; testing for osx; * Forget to leave directory in appveyor * set libraries path * Try again * Actually missing sip for osx * Adding plugins/platforms to LD_LIBRARY_PATH to fix linux missing xcb blah blah * added xvbf service
- Loading branch information
Showing
7 changed files
with
125 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,41 @@ | ||
#!/bin/bash | ||
|
||
NP="$(nproc)" | ||
|
||
PYQTSIP_VERSION=4.19.14 | ||
|
||
QT5_VERSION=5.12 | ||
|
||
QT5_PATH=/opt/qt512 | ||
|
||
echo "=========== Install SIP ===========" | ||
wget -nv https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz | ||
tar -xvzf sip-4.19.13.tar.gz | ||
cd sip-4.19.13 | ||
wget -nv https://www.riverbankcomputing.com/static/Downloads/sip/sip-$PYQTSIP_VERSION.tar.gz | ||
tar -xvzf sip-$PYQTSIP_VERSION.tar.gz | ||
cd sip-$PYQTSIP_VERSION | ||
python configure.py --sip-module=PyQt5.sip | ||
make -j 8 | ||
make -j $NP | ||
sudo make install | ||
sudo touch /usr/lib/python2.7/dist-packages/PyQt5/__init__.py | ||
echo "Done !" | ||
|
||
cd .. | ||
|
||
echo "=========== Install PyQt5 ===========" | ||
wget -nv https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.11.3/PyQt5_gpl-5.11.3.tar.gz | ||
tar -xvzf PyQt5_gpl-5.11.3.tar.gz | ||
cd PyQt5_gpl-5.11.3 | ||
python configure.py --confirm-license --disable=QtNfc --qmake=/opt/qt511/bin/qmake -n PyQt5.sip | ||
make -j 8 | ||
wget -nv https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-$QT5_VERSION.tar.gz | ||
tar -xvzf PyQt5_gpl-$QT5_VERSION.tar.gz | ||
cd PyQt5_gpl-$QT5_VERSION | ||
LD_LIBRARY_PATH=$QT5_PATH/lib python configure.py --confirm-license --no-docstrings --no-designer-plugin --no-tools --enable=QtWidgets --enable=QtCore --enable=QtGui --enable=QtPrintSupport --enable=QtPositioning --enable=QtNetwork --enable=QtQuick --enable=QtQuickWidgets --enable=QtWebChannel --enable=QtQml --qmake=$QT5_PATH/bin/qmake QMAKE_LFLAGS_RPATH= | ||
make -j $NP | ||
sudo make install | ||
echo "Done !" | ||
|
||
cd .. | ||
|
||
echo "=========== Install PyQtWebEngine ===========" | ||
wget -nv https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/PyQtWebEngine_gpl-$QT5_VERSION.tar.gz | ||
tar -xvzf PyQtWebEngine_gpl-$QT5_VERSION.tar.gz | ||
cd PyQtWebEngine_gpl-$QT5_VERSION | ||
LD_LIBRARY_PATH=$QT5_PATH/lib python configure.py --qmake=$QT5_PATH/bin/qmake | ||
make -j $NP | ||
sudo make install | ||
echo "Done !" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,39 @@ | ||
#!/bin/bash | ||
NP="$(sysctl -n hw.ncpu)" | ||
|
||
PYQTSIP_VERSION=4.19.14 | ||
|
||
QT5_VERSION=5.12 | ||
|
||
echo "=========== Install SIP ===========" | ||
wget -nv https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz | ||
tar -xvzf sip-4.19.13.tar.gz | ||
cd sip-4.19.13 | ||
wget -nv https://www.riverbankcomputing.com/static/Downloads/sip/sip-$PYQTSIP_VERSION.tar.gz | ||
tar -xvzf sip-$PYQTSIP_VERSION.tar.gz | ||
cd sip-$PYQTSIP_VERSION | ||
python configure.py --sip-module=PyQt5.sip | ||
make -j 8 | ||
make -j $NP | ||
sudo make install | ||
sudo touch /usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt5/__init__.py | ||
echo "Done !" | ||
|
||
cd .. | ||
|
||
echo "=========== Install PyQt5 ===========" | ||
wget -nv https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.11.2/PyQt5_gpl-5.11.2.tar.gz | ||
tar -xvzf PyQt5_gpl-5.11.2.tar.gz | ||
cd PyQt5_gpl-5.11.2 | ||
wget -nv https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-$QT5_VERSION.tar.gz | ||
tar -xvzf PyQt5_gpl-$QT5_VERSION.tar.gz | ||
cd PyQt5_gpl-$QT5_VERSION | ||
ls /usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/ | ||
python configure.py --confirm-license --disable=QtNfc --qmake=/usr/local/opt/qt5/bin/qmake -n PyQt5.sip --sip=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/sip | ||
make -j 8 | ||
DYLD_LIBRARY_PATH=/usr/local/opt/qt5/lib python configure.py --confirm-license --no-docstrings --no-designer-plugin --no-tools --enable=QtWidgets --enable=QtCore --enable=QtGui --enable=QtPrintSupport --enable=QtPositioning --enable=QtNetwork --enable=QtQuick --enable=QtQuickWidgets --enable=QtWebChannel --enable=QtQml --qmake=/usr/local/opt/qt5/bin/qmake --sip=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/sip QMAKE_LFLAGS_RPATH= | ||
make -j $NP | ||
sudo make install | ||
echo "Done !" | ||
|
||
cd .. | ||
|
||
echo "=========== Install PyQtWebEngine ===========" | ||
wget -nv https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/PyQtWebEngine_gpl-$QT5_VERSION.tar.gz | ||
tar -xvzf PyQtWebEngine_gpl-$QT5_VERSION.tar.gz | ||
cd PyQtWebEngine_gpl-$QT5_VERSION | ||
DYLD_LIBRARY_PATH=/usr/local/opt/qt5/lib python configure.py --qmake=/usr/local/opt/qt5/bin/qmake --sip=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/sip | ||
make -j $NP | ||
sudo make install | ||
echo "Done !" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters