Last active
August 17, 2017 01:01
-
-
Save shkumagai/505390efc5ca36a99413f3f72c50d422 to your computer and use it in GitHub Desktop.
bootstrap of PySide2 (not works for Darwin)
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
#!/bin/bash | |
# -*- coding: utf-8 -*- | |
# Prerequisites: Qt5.9 installed | |
brew install cmake p7zip | |
# clone repository | |
git clone https://code.qt.io/pyside/pyside-setup && cd pyside-setup | |
# download clang installation | |
curl -L http://download.qt.io/development_releases/prebuilt/libclang/libclang-release_40-mac.7z | 7z x | |
export LLVM_INSTALL_DIR=$PWD/libclang | |
# execute setup.py script | |
python setup.py install \ | |
--qmake=/usr/local/opt/qt/bin/qmake \ | |
--cmake=/usr/loca/bin/cmake \ | |
--openssl=/usr/local/opt/openssl | |
echo "PySide2 installation finished." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment