QList no matching constructor error
-
Hi ,,,
its showing no matching constructor for initialization of qList
please help me to slove this
this is the line i addedQList<XperienceAccount*> memberList = new QList<XperienceAccount>(contactlist)
thanks in adavnce
-
In addition to what @JonB said you can look at the following snippet
QList<QPushButton*> list1; for(int i=0;i<10;i++){ list1.append(new QPushButton); } QList<QPushButton*> *list = new QList<QPushButton*>(list1);