chartsqml2.pro
78 lines
| 2.1 KiB
| text/idl
|
PrologLexer
Titta Heikkala
|
r2712 | |||
TARGET = qtchartsqml2 | ||||
QT += qml quick | ||||
Titta Heikkala
|
r2714 | QT += charts charts-private | ||
Titta Heikkala
|
r2712 | TARGETPATH = QtCharts | ||
IMPORT_VERSION = $$MODULE_VERSION | ||||
# Only build qml plugin static if Qt itself is also built static | ||||
!contains(QT_CONFIG, static): CONFIG -= static staticlib | ||||
Titta Heikkala
|
r2738 | include($$PWD/designer/designer.pri) | ||
Titta Heikkala
|
r2712 | INCLUDEPATH += ../../include \ | ||
../../include/QtCharts \ | ||||
../charts \ | ||||
../charts/animations \ | ||||
../charts/axis \ | ||||
../charts/domain | ||||
SOURCES += \ | ||||
chartsqml2_plugin.cpp \ | ||||
declarativechart.cpp \ | ||||
declarativexypoint.cpp \ | ||||
declarativexyseries.cpp \ | ||||
declarativelineseries.cpp \ | ||||
declarativesplineseries.cpp \ | ||||
declarativeareaseries.cpp \ | ||||
declarativescatterseries.cpp \ | ||||
declarativepieseries.cpp \ | ||||
declarativebarseries.cpp \ | ||||
declarativecategoryaxis.cpp \ | ||||
declarativemargins.cpp \ | ||||
declarativeaxes.cpp \ | ||||
declarativepolarchart.cpp \ | ||||
declarativeboxplotseries.cpp | ||||
HEADERS += \ | ||||
declarativechart.h \ | ||||
declarativexypoint.h \ | ||||
declarativexyseries.h \ | ||||
declarativelineseries.h \ | ||||
declarativesplineseries.h \ | ||||
declarativeareaseries.h \ | ||||
declarativescatterseries.h \ | ||||
declarativepieseries.h \ | ||||
declarativebarseries.h \ | ||||
declarativecategoryaxis.h \ | ||||
declarativemargins.h \ | ||||
declarativeaxes.h \ | ||||
declarativepolarchart.h \ | ||||
declarativeboxplotseries.h | ||||
OTHER_FILES = qmldir | ||||
CONFIG += no_cxx_module | ||||
load(qml_plugin) | ||||
Antti Kokko
|
r2809 | win32 { | ||
CONFIG += skip_target_version_ext | ||||
VERSION = $$MODULE_VERSION | ||||
QMAKE_TARGET_PRODUCT = "Qt Charts (Qt $$QT_VERSION)" | ||||
QMAKE_TARGET_DESCRIPTION = "Charts QML plugin for Qt." | ||||
} | ||||
Titta Heikkala
|
r2712 | # Copy qmldir to DESTDIR so we can use the plugin directly from there in our examples | ||
# without having to do 'make install'. | ||||
!android:!ios { | ||||
copy_qmldir.target = $$DESTDIR/qmldir | ||||
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir | ||||
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\" | ||||
QMAKE_EXTRA_TARGETS += copy_qmldir | ||||
PRE_TARGETDEPS += $$copy_qmldir.target | ||||
} | ||||
QML_FILES += \ | ||||
$$PWD/plugins.qmltypes | ||||