PDA

View Full Version : QMap and static problem



longtrue
11th March 2008, 15:12
I have a class contain static member
static QMap<QString, QString>list; in header file.How to use and initialize it in .cpp file?Thanks.

jacek
11th March 2008, 23:14
Just put this in your .cpp file:
QMap<QString, QString> YourClass::list;