Lichtsteuerung.pro 3.61 KB
Newer Older
Leander Schulten's avatar
Leander Schulten committed
1
QT += qml quick
Leander Schulten's avatar
Leander Schulten committed
2

3
CONFIG += c++14
Leander Schulten's avatar
Leander Schulten committed
4
5
6
7
8

TARGET = Lichtsteuerung

TEMPLATE = app

Leander Schulten's avatar
Leander Schulten committed
9
10
11
12
13
14
15
16
RESOURCES += qml.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 =

Leander Schulten's avatar
Leander Schulten committed
17
SOURCES += \
18
    applicationdata.cpp \
Leander Schulten's avatar
Leander Schulten committed
19
    channel.cpp \
20
    channelprogrammeditor.cpp \
Leander Schulten's avatar
Leander Schulten committed
21
    colorplot.cpp \
Leander Schulten's avatar
Leander Schulten committed
22
23
    controlitem.cpp \
    controlitemdata.cpp \
Leander Schulten's avatar
Leander Schulten committed
24
25
26
27
    controlpanel.cpp \
    device.cpp \
    deviceprototype.cpp \
    dmxchannelfilter.cpp \
28
    dmxinterface.cpp \
Leander Schulten's avatar
Leander Schulten committed
29
    driver.cpp \
30
    errornotifier.cpp \
Leander Schulten's avatar
Leander Schulten committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
    graph.cpp \
    gridbackground.cpp \
    id.cpp \
    main.cpp \
    mapeditor.cpp \
    mapview.cpp \
    modelmanager.cpp \
    modelvector.cpp \
    namedobject.cpp \
    oscillogram.cpp \
    polygon.cpp \
    programm.cpp \
    programmprototype.cpp \
    programms/dmxconsumer.cpp \
    programms/loopprogramm.cpp \
    test/testloopprogramm.cpp \
47
    settings.cpp \
Leander Schulten's avatar
Leander Schulten committed
48
49
    syncservice.cpp \
    test/DriverDummy.cpp \
Leander Schulten's avatar
Leander Schulten committed
50
51
    usermanagment.cpp \
    programms/modulemanager.cpp \
Leander Schulten's avatar
Leander Schulten committed
52
53
    programms/programblock.cpp \
    programms/compiler.cpp \
54
55
56
57
58
    test/testmodulsystem.cpp \
    programms/controller.cpp \
    programms/dmxprogram.cpp \
    programms/dmxprogramblock.cpp \
    programms/json_storage.cpp
Leander Schulten's avatar
Leander Schulten committed
59
60
61
62
63
64

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked 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
Leander Schulten's avatar
Leander Schulten committed
65
DEFINES += _USE_MATH_DEFINES
Leander Schulten's avatar
Leander Schulten committed
66
67
68
69
70

# 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
71
72
73
74
75

HEADERS += \
    deviceprototype.h \
    channel.h \
    id.h \
76
    device.h \
77
78
    idbase.h \
    programmprototype.h \
79
    programm.h \
80
    applicationdata.h \
Leander Schulten's avatar
Leander Schulten committed
81
82
    namedobject.h \
    syncservice.h \
Leander Schulten's avatar
Leander Schulten committed
83
    dmxchannelfilter.h \
Leander Schulten's avatar
Leander Schulten committed
84
    usermanagment.h \
85
    channelprogrammeditor.h \
Leander Schulten's avatar
Leander Schulten committed
86
87
88
89
90
91
92
93
94
    modelmanager.h \
    mapview.h \
    polygon.h \
    mapeditor.h \
    gridbackground.h \
    modelvector.h \
    controlpanel.h \
    controlitem.h \
    controlitemdata.h \
95
96
    HardwareInterface.h \
    errornotifier.h \
97
    settings.h \
98
    driver.h \
Leander Schulten's avatar
Leander Schulten committed
99
100
101
102
103
104
105
    test/DriverDummy.h \
    colorplot.h \
    graph.h \
    oscillogram.h \
    programms/types.h \
    programms/loopprogramm.h \
    programms/dmxconsumer.h \
106
    programms/module.h \
Leander Schulten's avatar
Leander Schulten committed
107
108
    test/testloopprogramm.h \
    programms/modulemanager.h \
Leander Schulten's avatar
Leander Schulten committed
109
110
111
112
113
114
    programms/programblock.h \
    programms/property.hpp \
    programms/programm.hpp \
    programms/filter.hpp \
    programms/consumer.hpp \
    programms/compiler.h \
115
116
117
118
119
120
    test/testmodulsystem.h \
    programms/controller.h \
    programms/dmxprogram.h \
    programms/dmxprogramblock.h \
    programms/storage.hpp \
    programms/json_storage.h
Leander Schulten's avatar
Leander Schulten committed
121
122
123
124
125
126
127


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

128
129
DISTFILES +=

130
131
132
133
134
QMAKE_CXXFLAGS += -fsanitize=address
# QMAKE_CXXFLAGS += -fno-omit-frame-pointer
QMAKE_CXXFLAGS += -Wshadow
#QMAKE_CXXFLAGS += -lasan
LIBS += -lasan
Leander Schulten's avatar
Leander Schulten committed
135

136
137
138
139
win32-g++{
    LIBS += -L$$PWD/'lib/boost'  -lboost_coroutine -lboost_context
    INCLUDEPATH += $$PWD/'boost'
}
140
141
142
143
144

unix{
    #installed with brew install boost
    LIBS += -L/usr/local/Cellar/boost/1.66.0/lib -lboost_coroutine -lboost_context-mt
}