forked from openscad/openscad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qscintilla2.prf
54 lines (48 loc) · 1.03 KB
/
qscintilla2.prf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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]
QT5LIB=qt5scintilla2
unix:linux* {
FEDORA32LIBS=/usr/lib/libqscintilla2-qt5.so
FEDORA64LIBS=/usr/lib64/libqscintilla2-qt5.so
exists($$FEDORA32LIBS) | exists($$FEDORA64LIBS) {
QT5LIB=qscintilla2-qt5
}
}
CONFIG(debug, debug|release) {
mac: {
#LIBS += -lqscintilla2_debug
LIBS += -lqscintilla2
} else {
win32: {
LIBS += -lqscintilla2d
} else {
greaterThan(QT_MAJOR_VERSION, 4) {
message("Using $$QT5LIB as library name")
LIBS += -l$$QT5LIB
} else {
LIBS += -lqscintilla2
}
}
}
} else {
mac: {
LIBS += -lqscintilla2
} else {
win32: {
LIBS += -lqscintilla2
} else {
greaterThan(QT_MAJOR_VERSION, 4) {
message("Using $$QT5LIB as library name")
LIBS += -l$$QT5LIB
} else {
LIBS += -lqscintilla2
}
}
}
}