If I try to declare a QDirModel pointer in my class declaration in my header (QDirMidel* pDirModel), I get the error "ISO C++ forbids declaration of 'QDirModel' with no type".

If I declare other objects (e.g., QPainter* pPainter), I get no such error.

???
Thanks