2013-11-25 12:27:42 +00:00
|
|
|
TARGET = chapter6-plugins
|
|
|
|
QT += qml quick
|
|
|
|
|
2016-01-12 12:37:42 +00:00
|
|
|
# Ensure that the application will see the import path for the Charts module:
|
|
|
|
# * On Windows, do not build into a debug/release subdirectory.
|
|
|
|
# * On OS X, add the plugin files into the bundle.
|
2013-11-25 12:27:42 +00:00
|
|
|
win32: DESTDIR = ./
|
2016-01-12 12:37:42 +00:00
|
|
|
osx {
|
|
|
|
charts.files = $$OUT_PWD/Charts
|
|
|
|
charts.path = Contents/PlugIns
|
|
|
|
QMAKE_BUNDLE_DATA += charts
|
|
|
|
}
|
2013-11-25 12:27:42 +00:00
|
|
|
|
|
|
|
SOURCES += main.cpp
|
|
|
|
RESOURCES += app.qrc
|
2016-04-21 14:49:12 +00:00
|
|
|
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qml/tutorials/extending-qml/chapter6-plugins
|
|
|
|
INSTALLS += target
|