@@ -127,7 +127,9 public: | |||||
127 |
|
127 | |||
128 | qRegisterMetaType<QList<QPieSlice *> >(); |
|
128 | qRegisterMetaType<QList<QPieSlice *> >(); | |
129 | qRegisterMetaType<QList<QBarSet *> >(); |
|
129 | qRegisterMetaType<QList<QBarSet *> >(); | |
|
130 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) | |||
130 | qRegisterMetaType<DeclarativeChart::SeriesType>(); |
|
131 | qRegisterMetaType<DeclarativeChart::SeriesType>(); | |
|
132 | #endif | |||
131 |
|
133 | |||
132 | // QtCommercial.Chart 1.0 |
|
134 | // QtCommercial.Chart 1.0 | |
133 | qmlRegisterType<DeclarativeChart>(uri, 1, 0, "ChartView"); |
|
135 | qmlRegisterType<DeclarativeChart>(uri, 1, 0, "ChartView"); |
General Comments 0
You need to be logged in to leave comments.
Login now