-
Notifications
You must be signed in to change notification settings - Fork 0
/
qml_hwmonitor.pro
59 lines (40 loc) · 1.49 KB
/
qml_hwmonitor.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
!versionAtLeast(QT_VERSION, 5.10.0):error("Requires Qt version 5.10.0 or greater.")
TEMPLATE +=app
TARGET = QML_HWMonitor
QT += core gui concurrent qml quick quickcontrols2 multimedia
VERSION = 0.1
# allows use of version variable elsewhere
DEFINES += "VERSION=$$VERSION"
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
LANGUAGE = C++
CONFIG += c++17 resources_big qml_debug
include(gitversion.pri)
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
DEFINES += QT_DEPRECATED_WARNINGS
# QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
#don't use precompiled headers https://www.kdab.com/beware-of-qt-module-wide-includes/
SOURCES += \
src/main.cpp \
src/monitor.cpp
HEADERS += \
src/monitor.h
RESOURCES += \
qml.qrc \
images.qrc \
fonts.qrc
#TRANSLATIONS += \
# G2_ru_RU.ts
#CONFIG += lrelease
#CONFIG += embed_translations
# Setting the application icon
#win32: RC_ICONS = res/icons/five_in_a_row-qt.ico # On Windows
#macx: ICON = res/icons/five_in_a_row-qt.ico # On Mac OSX
QMAKE_CFLAGS += $$(QMAKE_CFLAGS_ENV)
QMAKE_CXXFLAGS += $$(QMAKE_CXXFLAGS_ENV)
QMAKE_LFLAGS += $$(QMAKE_LFLAGS_ENV)
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH += $$PWD