Singleton problem
-
Suspect two things.
- staledata_t* what is this type ? DataMngr.getInstance(root.dataTag) returning an QObject. Did you register the return type to be known to QML ?
- DataMngr.getInstance(root.dataTag) instance may not be returning anything. This may be null. Please check this.
- Any issue with DMngrSingleton this object creation ? Where is it created ? Did you check with debug statements?
-
Suspect two things.
- staledata_t* what is this type ? DataMngr.getInstance(root.dataTag) returning an QObject. Did you register the return type to be known to QML ?
- DataMngr.getInstance(root.dataTag) instance may not be returning anything. This may be null. Please check this.
- Any issue with DMngrSingleton this object creation ? Where is it created ? Did you check with debug statements?