On Sun, Jun 27, 2010 at 10:12 AM, Oluwafemi Ade <oamaximpact at gmail.com> wrote: > in .h file : > class QMap<QString, int>; Is this really needed? Just the correct include should do...no? > static QMap<QString, int> converter; > > somewhere in .cpp file: > #include <QMap> Move this to the .h file. HTH, -mandeep