Phil Thompson wrote:

> QScintilla v2.9 has been released. It is based on Scintilla v3.5.4 and
> no longer supports Qt v3 and PyQt v3. For full details see the NEWS
> file.

As highlighted here,
https://github.com/openscad/openscad/issues/1254

qscintilla installs qscintilla2.prf to $[QT_INSTALL_DATA]/mkspecs/features 
which isn't necessarily the correct location on Qt.  Qt5 uses QT_HOST_DATA 
var instead, which defaults to value of QT_INSTALL_ARCHDATA, either of which 
can have values different than QT_INSTALL_DATA.

The attached patch ensures the correct path is used.

-- Rex
diff -up QScintilla-gpl-2.9/Qt4Qt5/qscintilla.pro.qt5 QScintilla-gpl-2.9/Qt4Qt5/qscintilla.pro
--- QScintilla-gpl-2.9/Qt4Qt5/qscintilla.pro.qt5	2015-04-20 09:38:24.000000000 -0500
+++ QScintilla-gpl-2.9/Qt4Qt5/qscintilla.pro	2015-04-26 13:34:43.147986472 -0500
@@ -77,7 +77,11 @@ isEmpty(qsci.path) {
 INSTALLS += header trans qsci target
 
 greaterThan(QT_MAJOR_VERSION, 3) {
+greaterThan(QT_MAJOR_VERSION, 4) {
+    features.path = $$[QT_HOST_DATA]/mkspecs/features
+} else {
     features.path = $$[QT_INSTALL_DATA]/mkspecs/features
+}
     features.files = $$PWD/features/qscintilla2.prf
     INSTALLS += features
 }

_______________________________________________
QScintilla mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to