mirror of https://github.com/vitalif/openscad
Fix to make debug builds correctly link against qscintilla on Mac/Windows
parent
6270441341
commit
597cdbe7b3
|
@ -0,0 +1,12 @@
|
|||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT += widgets printsupport
|
||||
|
||||
greaterThan(QT_MINOR_VERSION, 1) {
|
||||
macx:QT += macextras
|
||||
}
|
||||
}
|
||||
|
||||
INCLUDEPATH += $$[QT_INSTALL_HEADERS]
|
||||
|
||||
LIBS += -L$$[QT_INSTALL_LIBS]
|
||||
LIBS += -lqscintilla2
|
|
@ -2,5 +2,9 @@ scintilla {
|
|||
HEADERS += src/scintillaeditor.h
|
||||
SOURCES += src/scintillaeditor.cpp
|
||||
DEFINES += USE_SCINTILLA_EDITOR
|
||||
CONFIG += qscintilla2
|
||||
|
||||
# The qscintilla2.prf which ships with QScintilla is broken for Mac/Windows
|
||||
# debug builds, so we supply our own
|
||||
win32|macx: include(qscintilla2.prf)
|
||||
else: CONFIG += qscintilla2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue