##// END OF EJS Templates
Fixed Qt5 specific issue with meta types in QML oscilloscope demo
Tero Ahola -
r2394:297768d995b8
parent child
Show More
@@ -28,12 +28,15
28 28
29 29 QTCOMMERCIALCHART_USE_NAMESPACE
30 30
31 Q_DECLARE_METATYPE(QAbstractSeries *)
32
31 33 DataSource::DataSource(QDeclarativeView *appViewer, QObject *parent) :
32 34 QObject(parent),
33 35 m_appViewer(appViewer),
34 36 m_index(-1)
35 37 {
36 // generate
38 qRegisterMetaType<QAbstractSeries*>();
39
37 40 generateData(0, 5, 1024);
38 41 }
39 42
General Comments 0
You need to be logged in to leave comments. Login now