diff options
author | Jani Honkonen <jani.honkonen@digia.com> | 2012-11-13 11:05:17 +0200 |
---|---|---|
committer | Jani Honkonen <jani.honkonen@digia.com> | 2012-11-13 11:06:10 +0200 |
commit | 299adba9c9cbbb5baee69ca4b2d7b5b76c4b16d1 (patch) | |
tree | f86c6edbc7503a5df0882513fc70d735bd42ee25 /plugins | |
parent | 8bb0a5119ae28e05623162d5e48e7c7a32c7ea4a (diff) |
Fix Qt4 builds
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/declarative/plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/declarative/plugin.cpp b/plugins/declarative/plugin.cpp index 5cf87b4b..e8581ea4 100644 --- a/plugins/declarative/plugin.cpp +++ b/plugins/declarative/plugin.cpp @@ -127,7 +127,9 @@ public: qRegisterMetaType<QList<QPieSlice *> >(); qRegisterMetaType<QList<QBarSet *> >(); +#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) qRegisterMetaType<DeclarativeChart::SeriesType>(); +#endif // QtCommercial.Chart 1.0 qmlRegisterType<DeclarativeChart>(uri, 1, 0, "ChartView"); |