hello,
I've just started working with QT and wanted to test some core classes, before working with gui. However, even at this point I encountered difficulties. This is the code
Qt Code:
  1. #include <QtCore/QVector>
  2.  
  3. int main(int argc, char* argv[])
  4. {
  5. QVector<uchar> vector;
  6. vector.push_back(30);
  7.  
  8. return 0;
  9. }
To copy to clipboard, switch view to plain text mode 

Everything compiles fine. On runtime I get the following error:
The application failed to initialize properly (0xc0000005). Click OK to terminate
I noticed that it's a problem of QVector. QList, for example, works fine.
It's the same either both on debug an release.
IDE: Code-Blocks 10.05
compiler: mingw 4.5.0-1
QT 4.7.1 compiled for mingw

I'd be thankful for any help to this frustrating problem.