[PyQt] patch for building QScintilla-2.10 debug

Patrick Stinson patrickkidd at gmail.com
Thu Feb 23 05:21:55 GMT 2017


qscintilla.pro does not add the _debug suffix to libqscintilla2_qt5, which the Python extension expects, even if qmake is run in CONFIG+=debug. The following patch fixes it, although conditionally setting TARGET for debug may be a better choice.

Cheers,
-P


--- QScintilla_gpl-2.10/Qt4Qt5/qscintilla.pro	2017-02-22 20:47:33.000000000 -0800
+++ ../../pyqt-sysroot-osx-64/src/QScintilla_gpl-2.10/Qt4Qt5/qscintilla.pro	2017-02-20 04:49:30.000000000 -0800
@@ -23,8 +23,8 @@
 !win32:VERSION = 13.0.0
 
 TEMPLATE = lib
-TARGET = qscintilla2_qt$${QT_MAJOR_VERSION}_debug
-CONFIG += qt warn_off thread exceptions hdebug
+TARGET = qscintilla2_qt$${QT_MAJOR_VERSION}
+CONFIG += qt warn_off thread exceptions hide_symbols
 INCLUDEPATH += . ../include ../lexlib ../src
 
 !CONFIG(staticlib) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170222/0426df2a/attachment.html>


More information about the PyQt mailing list