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
|
QT += core gui quick
TARGET = graph
TEMPLATE = app
CONFIG += qmltypes
QML_IMPORT_NAME = Graph
QML_IMPORT_MAJOR_VERSION = 1
SOURCES += main.cpp \
graph.cpp \
noisynode.cpp \
gridnode.cpp \
linenode.cpp
HEADERS += \
graph.h \
noisynode.h \
gridnode.h \
linenode.h
RESOURCES += \
graph.qrc
OTHER_FILES += \
main.qml \
shaders/noisy.vsh \
shaders/noisy.fsh \
shaders/line.fsh \
shaders/line.vsh
target.path = $$[QT_INSTALL_EXAMPLES]/quick/scenegraph/graph
INSTALLS += target
|