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:
#include <QtCore/QVector> int main(int argc, char* argv[]) { QVector<uchar> vector; vector.push_back(30); return 0; }To copy to clipboard, switch view to plain text mode
Everything compiles fine. On runtime I get the following error:
I noticed that it's a problem of QVector. QList, for example, works fine.The application failed to initialize properly (0xc0000005). Click OK to terminate
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.
Bookmarks