Lichtsteuerung.pro 2.65 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 =

17
18
19
20
SOURCES += main.cpp \
    deviceprototype.cpp \
    channel.cpp \
    id.cpp \
21
22
    device.cpp \
    programmprototype.cpp \
23
    programm.cpp \
24
    applicationdata.cpp \
Leander Schulten's avatar
Leander Schulten committed
25
    namedobject.cpp \
26
    dmxchannelfilter.cpp \
Leander Schulten's avatar
Leander Schulten committed
27
    syncservice.cpp \
Leander Schulten's avatar
Leander Schulten committed
28
    usermanagment.cpp \
29
    channelprogrammeditor.cpp \
Leander Schulten's avatar
Leander Schulten committed
30
31
32
33
34
35
36
37
38
    modelmanager.cpp \
    mapview.cpp \
    polygon.cpp \
    mapeditor.cpp \
    gridbackground.cpp \
    modelvector.cpp \
    controlpanel.cpp \
    controlitem.cpp \
    controlitemdata.cpp \
39
40
    dmxinterface.cpp \
    errornotifier.cpp \
41
    settings.cpp \
42
    driver.cpp \
43
44
45
46
    test/DriverDummy.cpp \
    graph.cpp \
    oscillogram.cpp \
    colorplot.cpp
Leander Schulten's avatar
Leander Schulten committed
47
48
49
50
51
52

# 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
53
DEFINES += _USE_MATH_DEFINES
Leander Schulten's avatar
Leander Schulten committed
54
55
56
57
58

# 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
59
60
61
62
63

HEADERS += \
    deviceprototype.h \
    channel.h \
    id.h \
64
    device.h \
65
66
    idbase.h \
    programmprototype.h \
67
    programm.h \
68
    applicationdata.h \
Leander Schulten's avatar
Leander Schulten committed
69
70
    namedobject.h \
    syncservice.h \
Leander Schulten's avatar
Leander Schulten committed
71
    dmxchannelfilter.h \
Leander Schulten's avatar
Leander Schulten committed
72
    usermanagment.h \
73
    channelprogrammeditor.h \
Leander Schulten's avatar
Leander Schulten committed
74
75
76
77
78
79
80
81
82
    modelmanager.h \
    mapview.h \
    polygon.h \
    mapeditor.h \
    gridbackground.h \
    modelvector.h \
    controlpanel.h \
    controlitem.h \
    controlitemdata.h \
83
84
    HardwareInterface.h \
    errornotifier.h \
85
    settings.h \
86
    driver.h \
87
88
89
90
    test/DriverDummy.h \
    graph.h \
    oscillogram.h \
    colorplot.h
Leander Schulten's avatar
Leander Schulten committed
91
92
93
94
95
96
97


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

98
99
DISTFILES +=

Leander Schulten's avatar
Leander Schulten committed
100
101
102
103
win32-msvc{
    LIBS += -L$$PWD/lib/boost/
}

104
105
106
107
108
win32-g++{
    #AudioFFT
    LIBS += -L$$PWD/'lib/AudioFFT/dll' -lAudioFFT
    INCLUDEPATH += $$PWD/'lib/AudioFFT/include'
}
Leander Schulten's avatar
Leander Schulten committed
109

110
111
112
113
114
win32-msvc{
    #AudioFFT
    LIBS += -L$$PWD/'lib/AudioFFT/dll/AudioFFT.dll'
    INCLUDEPATH += $$PWD/'lib/AudioFFT/include'
}