I've run out of ways to make qscintilla work. All of these steps go without any apparent error but for one
seemingly benign error:
1) startin qscintilla 2.9.2 directory, clean source
cd Qt4Qt5
export QMAKEFEATURES="$PWD/features"
<full path to Qt5.6 qmake>/qmake qscintilla.pro
make
make install
cd '../designer-Qt4Qt5'
<full path to Qt5.6 qmake>/qmake 'designer.pro' INCLUDEPATH+='../Qt4Qt5' QMAKE_LIBDIR+='../Qt4Qt5'
make
make install
2) in sip-4.18 source dir:
python3 configure.py
make
make install
3) in PyQt5_gpl-5.6 source directory
python3 configure.py --qmake <full path to Qt5.6 qmake>/qmake
make
make install
4) back in QScintilla source dir:
cd '/Python'
python3 'configure.py' --pyqt='PyQt5' --qmake='<full path to Qt5.6 qmake>/qmake' --qsci-incdir='../Qt4Qt5' --qsci-
libdir='../Qt4Qt5'
make
make install
5) in eric6-6.1.6 directory:
python3 install.py
error (I must have done this about 10 times, each time taking extreme care with everything.
Checking dependencies
Python Version: 3.5.1
Found PyQt5
Found pyuic5
Sorry, please install QScintilla2 and
its PyQt5/PyQt4 wrapper.
Error: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyQt5/Qsci.so, 2):
Library not loaded: libqscintilla2_qt5.12.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyQt5/Qsci.so
Reason: image not found
In QScintilla/Qt4Qt5 I see these 4 files/symlinks:
1- QScintilla_gpl-2.9.2/Qt4Qt5/libqscintilla2_qt5.12.0.1.dylib
2- QScintilla_gpl-2.9.2/Qt4Qt5/libqscintilla2_qt5.12.0.dylib -> libqscintilla2_qt5.12.0.1.dylib
3- QScintilla_gpl-2.9.2/Qt4Qt5/libqscintilla2_qt5.12.dylib -> libqscintilla2_qt5.12.0.1.dylib
4- QScintilla_gpl-2.9.2/Qt4Qt5/libqscintilla2_qt5.dylib -> libqscintilla2_qt5.12.0.1.dylib
item 3 is an exact match for the not-found file/image.
It feels to me that QScintilla is the plague of the earth - problems with it abound. One has to wonder: if
QScintilla build/install was not so fragile, would Eric PythonIDE rule the world?
I'm about to give up - discouraging to have spent now about 20 hours trying to make QScintilla work in python3
|