summaryrefslogtreecommitdiffstats
path: root/examples/scxml/trafficlight-qml-static/trafficlight-qml-static.pro
blob: 2cc86aaf9b4684d65b8974d9337f4b3d4f87555a (plain)
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
TEMPLATE = app

QT += qml scxml

CONFIG += c++11
CONFIG += qmltypes

SOURCES += trafficlight-qml-static.cpp

HEADERS += trafficlight-qml.h

STATECHARTS = ../trafficlight-common/statemachine.scxml

QML_IMPORT_NAME = TrafficLightApplication
QML_IMPORT_MAJOR_VERSION = 1

qml_resources.files = \
    qmldir \
    MainView.qml \
    Button.qml \
    Lights.ui.qml \
    ../trafficlight-common/play.png \
    ../trafficlight-common/yellow.png \
    ../trafficlight-common/red.png \
    ../trafficlight-common/green.png \
    ../trafficlight-common/background.png \
    ../trafficlight-common/pause.png \

qml_resources.prefix = /qt/qml/TrafficLightApplication

RESOURCES += qml_resources

target.path = $$[QT_INSTALL_EXAMPLES]/scxml/trafficlight-qml-static
INSTALLS += target