调试步骤:
brew uninstall qscintilla2
brew install qscintilla2
当这不起作用时,我再次卸载,然后从 src 手动构建:
curl -OL 'https://nchc.dl.sourceforge.net/project/pyqt/QScintilla2/QScintilla-2.10.1/QScintilla_gpl-2.10.1.tar.gz'
tar xf QScintilla_gpl-2.10.1.tar.gz
cd QScintilla_gpl-2.10.1/Qt4Qt5
qmake
make
make install
当那不起作用时,我尝试了:
ln -s /usr/local/Cellar/qt/5.9.1/lib/libqscintilla2_qt5.13.0.0.dylib /usr/local/lib/libqscintilla.dylib
for f in /usr/local/Cellar/qt/5.9.1/lib/*.dylib;
do ln -s "$f" "/usr/local/lib/${f##*/}";
done