Question

showing some error that the method is not a static memeber of class.

    parsejson.cpp:96: error: 'QList<PointstableResult> ParseJson::parsePointsTableData' is not a static member of 'class ParseJson'

but i have declared it in my header file "pasejson.h"

   static QList<PointstableResult*> parsePointsTableData(QString);

but still showing the error. If Somebody knows what I might be doing wrong, it would be a great help

Was it helpful?

Solution

You have called QList<PointstableResult> ParseJson::parsePointsTableData, but the declaration is: QList<PointstableResult*> parsePointsTableData (note the pointer type!)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top