-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqterminal.pro
53 lines (39 loc) · 1.07 KB
/
qterminal.pro
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
TARGET = qterminal
TEMPLATE = app
# qt5 only. Please use cmake - it's an official build tool for this software
QT += widgets
CONFIG += link_pkgconfig \
depend_includepath
PKGCONFIG += qtermwidget5
DEFINES += STR_VERSION=\\\"0.7.0\\\"
SOURCES += $$files(src/*.cpp)
HEADERS += $$files(src/*.h)
INCLUDEPATH += src
INCLUDEPATH += src/third-party
SOURCES += src/third-party/qxtglobalshortcut.cpp
HEADERS += src/third-party/qxtglobalshortcut.h
HEADERS += src/third-party/qxtglobalshortcut_p.h
win32 {
SOURCES += src/third-party/qxtglobalshortcut_win.cpp
}
unix:!macx {
SOURCES += src/third-party/qxtglobalshortcut_x11.cpp
LIBS += -L/usr/X11/lib -lX11
QT += x11extras
}
macx: {
SOURCES += src/third-party/qxtglobalshortcut_mac.cpp
}
RESOURCES += src/icons.qrc
FORMS += $$files(src/forms/*.ui)
unix {
isEmpty(PREFIX) {
PREFIX = /usr/local
}
BINDIR = $$PREFIX/bin
INSTALLS += target shortcut
target.path = $$BINDIR
DATADIR = $$PREFIX/share
shortcut.path = $$DATADIR/applications
shortcut.files = qterminal.desktop
}