diff options
Diffstat (limited to 'build-python-bindings.sh')
-rwxr-xr-x | build-python-bindings.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build-python-bindings.sh b/build-python-bindings.sh new file mode 100755 index 0000000..7ef939f --- /dev/null +++ b/build-python-bindings.sh @@ -0,0 +1,22 @@ +if [ ! -d build ];then + mkdir build +else + rm -rf build/* +fi + +cd build + +# for Qt4 use qt4-qmake +# /usr/share/qt4/bin/qmake ../src/qhexedit.pro + +# for Qt5 use qt5-qmake +/usr/lib/x86_64-linux-gnu/qt5/bin/qmake ../src/qhexedit.pro + +sudo make +cd .. + +# for PyQt4 use python2 and PyQt4 +# sudo python2 setup.py install + +# for PyQt5 use python3 and PyQt5 +sudo python3 setup.py install |