-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbrightnessSlider.pro
71 lines (55 loc) · 1.5 KB
/
brightnessSlider.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#-------------------------------------------------
#
# Project created by QtCreator 2017-02-10T14:13:19
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = brightnessSlider
TEMPLATE = app
INCLUDEPATH += $$PWD/ui
SOURCES += main.cpp\
powermonitor.cpp \
brightnessControl.cpp \
singleinstance.cpp \
mainapp.cpp \
ui/aboutwindow.cpp \
ui/popupWindow.cpp \
ui/trayicon.cpp \
ui/touchslider.cpp \
ui/settingwindow.cpp
HEADERS += \
powermonitor.h \
brightnessControl.h \
singleinstance.h \
mainapp.h \
globalconfig.h \
ui/aboutwindow.h \
ui/popupWindow.h \
ui/trayconfig.h \
ui/settingwindow.h \
ui/touchslider.h \
ui/trayicon.h
FORMS += \
ui/aboutwindow.ui \
ui/popupWindow.ui \
ui/settingwindow.ui
DISTFILES +=
#LIBS += -luser32 -lshell32 -lgdi32
RESOURCES += \
resources.qrc
# version
VERSION_MAJOR = 1
VERSION_MINOR = 2
VERSION_PATCH = 0
VERSION_BUILD = 0
DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR"\
"VERSION_MINOR=$$VERSION_MINOR"\
"VERSION_PATCH=$$VERSION_PATCH"\
"VERSION_BUILD=$$VERSION_BUILD"
VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}.$${VERSION_PATCH}.$${VERSION_BUILD}
# windows header Wbemidl.h violate strictStrings rules
win32: QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings
win32: QMAKE_CFLAGS_RELEASE -= -Zc:strictStrings
win32: QMAKE_CFLAGS -= -Zc:strictStrings
win32: QMAKE_CXXFLAGS -= -Zc:strictStrings