2014-07-17 23:09:50 +04:00
|
|
|
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]
|
2014-10-17 21:32:15 +04:00
|
|
|
|
2015-04-26 17:45:04 +03:00
|
|
|
QT5LIB=qt5scintilla2
|
|
|
|
|
|
|
|
unix:linux* {
|
|
|
|
FEDORA32LIBS=/usr/lib/libqscintilla2-qt5.so
|
|
|
|
FEDORA64LIBS=/usr/lib64/libqscintilla2-qt5.so
|
|
|
|
exists($$FEDORA32LIBS) | exists($$FEDORA64LIBS) {
|
|
|
|
QT5LIB=qscintilla2-qt5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-21 19:15:53 +03:00
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
mac: {
|
|
|
|
#LIBS += -lqscintilla2_debug
|
|
|
|
LIBS += -lqscintilla2
|
|
|
|
} else {
|
|
|
|
win32: {
|
|
|
|
LIBS += -lqscintilla2d
|
|
|
|
} else {
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
2015-04-26 17:45:04 +03:00
|
|
|
message("Using $$QT5LIB as library name")
|
|
|
|
LIBS += -l$$QT5LIB
|
2014-12-21 19:15:53 +03:00
|
|
|
} else {
|
|
|
|
LIBS += -lqscintilla2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-17 21:32:15 +04:00
|
|
|
} else {
|
2014-12-23 09:18:27 +03:00
|
|
|
mac: {
|
|
|
|
LIBS += -lqscintilla2
|
2014-12-21 19:15:53 +03:00
|
|
|
} else {
|
2014-12-23 09:18:27 +03:00
|
|
|
win32: {
|
|
|
|
LIBS += -lqscintilla2
|
|
|
|
} else {
|
2014-12-23 02:58:25 +03:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
2015-04-26 17:45:04 +03:00
|
|
|
message("Using $$QT5LIB as library name")
|
|
|
|
LIBS += -l$$QT5LIB
|
2014-12-23 02:58:25 +03:00
|
|
|
} else {
|
|
|
|
LIBS += -lqscintilla2
|
|
|
|
}
|
2014-12-23 09:18:27 +03:00
|
|
|
}
|
2014-12-21 19:15:53 +03:00
|
|
|
}
|
2014-10-17 21:32:15 +04:00
|
|
|
}
|