Hi

I'm trying to create a QList of QPointers, something like this:

Qt Code:
  1. QList<QPointer<someClass>>* myQPointerList_;
To copy to clipboard, switch view to plain text mode 

However, this syntax does not seem to be good. I get errors like:
1>d:\testproj\mainWindow.h(282) : error C2947: expecting '>' to terminate template-argument-list, found '<'
1>d:\testproj\mainWindow.h(282) : error C2143: syntax error : missing ';' before '>>'
1>d:\testproj\mainWindow.h(282) : error C2238: unexpected token(s) preceding ';'
I use the (Win32) MSVC 2005 compiler.

So, is there a way to handle this (that is, to create the QList of QPointers that I would like to use)?