-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcuteproduction.pro
71 lines (54 loc) · 2 KB
/
cuteproduction.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
QT = core qml quick quickcontrols2 multimedia mqtt
CONFIG += c++17
CONFIG += qzxing_qml qzxing_multimedia enable_decoder_1d_barcodes enable_decoder_qr_code enable_encoder_qr_code
unix {
CONFIG +=link_pkgconfig
message(PKGCONFIG)
}
link_pkgconfig {
packagesExist(libavformat) {
PKGCONFIG += libavformat libavutil libavcodec
DEFINES += FFMPEG
message(libavformat)
}
#packagesExist(QZXing) {
# PKGCONFIG += QZXing
# DEFINES += QZXING_QML ENABLE_ENCODER_GENERIC ENABLE_ENCODER_QR_CODE
# message(QZXing)
#}
}
DEFINES += QZXING_QML ENABLE_ENCODER_GENERIC ENABLE_ENCODER_QR_CODE
include(3rdparty/qzxing/src/QZXing-components.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
SOURCES += \
src/main.cpp \
src/filereader.cpp \
src/html.cpp \
src/settings.cpp \
src/ticker.cpp \
src/hyper.cpp \
src/cutemqttclient.cpp
HEADERS += \
src/filereader.h \
src/html.h \
src/settings.h \
src/ticker.h \
src/hyper.h \
src/cutemqttclient.h
# QMediaPlaylist
SOURCES += 3rdparty/qmediaplaylist/qmediaplaylist.cpp 3rdparty/qmediaplaylist/playlistmodel.cpp 3rdparty/qmediaplaylist/qplaylistfileparser.cpp
HEADERS += 3rdparty/qmediaplaylist/playlistmodel.h 3rdparty/qmediaplaylist/qmediaplaylist.h 3rdparty/qmediaplaylist/qmediaplaylist_p.h 3rdparty/qmediaplaylist/qplaylistfileparser_p.h
INCLUDEPATH += 3rdparty/qmediaplaylist/
RESOURCES += qml.qrc \
shaders.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
QMAKE_INFO_PLIST = Info.plist
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target