-
Notifications
You must be signed in to change notification settings - Fork 0
/
SBhelper.pro
108 lines (92 loc) · 3.22 KB
/
SBhelper.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#-------------------------------------------------
#
# Project created by QtCreator 2019-08-27T08:46:35
#
#-------------------------------------------------
include (src/qcustomplot/qcustomplot.pri)
VERSION = 1.7.0.0
RC_ICONS = res/icon_128.ico
QMAKE_TARGET_COPYRIGHT = "Copyright(C) 2020 BITSCC"
QMAKE_TARGET_DESCRIPTION = "Read data from Serialport and Bluetooth"
QMAKE_TARGET_COMPANY = "Beijing Insititute of Technology Smart Car CLub"
QMAKE_TARGET_PRODUCT = "Serialport-Bluetooth-Helper"
QT += core gui serialport bluetooth
android: QT += androidextras
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SBhelper
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
# DEFINES += APP_COPYRIGHT='\\"$${QMAKE_TARGET_COPYRIGHT}\\"'
DEFINES += APP_VERSION='\\"$${VERSION}\\"'
CONFIG += c++14
SOURCES += \
src/aboutThis.cpp \
src/dialogskin.cpp \
src/iodevice.cpp \
src/main.cpp \
src/mainwindow.cpp \
src/multicurvesplot.cpp \
src/multicurvesplotprivate.cpp \
src/rudder.cpp \
src/serialsettingsdialog.cpp \
src/widgetloading.cpp \
src/widgetpainter.cpp \
src/widgetparaitem.cpp\
src/chatclient.cpp
HEADERS += \
src/dialogskin.h \
src/iodevice.h \
src/mainwindow.h \
src/multicurvesplot.h \
src/multicurvesplotprivate.h \
src/rudder.h \
src/serialsettingsdialog.h \
# src/uartconfigdialog.h \
src/widgetloading.h \
src/widgetpainter.h \
src/widgetparaitem.h\
src/chatclient.h
FORMS += \
gui/dialogskin.ui \
gui/mainwindow.ui \
gui/serialsettingsdialog.ui \
gui/widgetparaitem.ui \
gui/widgetloading.ui
TRANSLATIONS += \
res/translation/SBHelper_zh_CN.ts\
res/translation/SBHelper_en.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
res/res.qrc \
DISTFILES += \
README.md \
android/AndroidManifest.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew.bat \
android/res/values/libs.xml \
res/translation/SBHelper_en.ts \
res/translation/SBHelper_zh_CN.ts
android {
DEFINES += SMALL_SCREEN
}
ios {
DEFINES += SMALL_SCREEN
}
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}