diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-09-27 09:31:14 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-09-27 09:31:25 +0300 |
commit | 44f56122f6c5290c6be285b0f9242451943616bd (patch) | |
tree | f8616b71e27f45bd4f5c03d8c62bf5b696ce9b12 /plugins | |
parent | 5a239414c20a22182583c169dd0b33bf3db55dd5 (diff) |
Fixed a build issue with metatype declaration in decl plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/declarative/plugin.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/declarative/plugin.cpp b/plugins/declarative/plugin.cpp index 985908cd..d44d954c 100644 --- a/plugins/declarative/plugin.cpp +++ b/plugins/declarative/plugin.cpp @@ -51,10 +51,13 @@ #include "qdatetimeaxis.h" #endif -QTCOMMERCIALCHART_BEGIN_NAMESPACE +QTCOMMERCIALCHART_USE_NAMESPACE + Q_DECLARE_METATYPE(QList<QPieSlice *>) Q_DECLARE_METATYPE(QList<QBarSet *>) +QTCOMMERCIALCHART_BEGIN_NAMESPACE + class ChartQmlPlugin : public QDeclarativeExtensionPlugin { Q_OBJECT |