-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathctrlcall.pro
More file actions
55 lines (42 loc) · 1.09 KB
/
ctrlcall.pro
File metadata and controls
55 lines (42 loc) · 1.09 KB
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
QT += core gui widgets
# install
#target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/systray
#sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS systray.pro
#sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/desktop/systray
#INSTALLS += target sources
#simulator: warning(This example might not fully work on Simulator platform)
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = ctrlcall
TEMPLATE = app
HEADERS = daemon.h \
settingsdialog.h \
settings.h \
phonenumberresult.h \
windowinfo.h \
windowsutil.h
SOURCES = main.cpp \
daemon.cpp \
settingsdialog.cpp \
settings.cpp \
phonenumberresult.cpp \
windowinfo.cpp
RESOURCES = systray.qrc
FORMS += \
settingsdialog.ui
macx {
OBJECTIVE_SOURCES += mac.mm windowsutil_mac.mm
HEADERS += mac.h
LIBS += -framework Cocoa
}
unix:!macx {
HEADERS += linux_x11.h
SOURCES += linux_x11.cpp windowsutil_x11.cpp
LIBS += -lX11
# CONFIG += link_pkgconfig
# PKGCONFIG += x11
}
win32 {
HEADERS += win.h
SOURCES += win.cpp windowsutil_win.cpp
LIBS += -lpsapi
}