2014-06-13 22:41:40 +04:00
|
|
|
scintilla {
|
2014-07-17 23:28:23 +04:00
|
|
|
HEADERS += src/scintillaeditor.h src/scadlexer.h
|
|
|
|
SOURCES += src/scintillaeditor.cpp src/scadlexer.cpp
|
|
|
|
|
2014-06-13 22:41:40 +04:00
|
|
|
DEFINES += USE_SCINTILLA_EDITOR
|
2014-07-17 23:09:50 +04:00
|
|
|
|
|
|
|
# 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
|
2014-09-05 22:31:54 +04:00
|
|
|
|
|
|
|
# Older scintilla libs (e.g. 2.7.2 on fedora20) do not provide the
|
|
|
|
# prf file, so if no lib added at this point, we still fall back to
|
|
|
|
# the included qscintilla2.prf
|
|
|
|
!contains(LIBS, ".*scintilla.*") {
|
|
|
|
include(qscintilla2.prf)
|
|
|
|
}
|
2014-06-13 22:41:40 +04:00
|
|
|
}
|