I was trying to create a simple console application to try out Qt\'s XML parser. I started a project in VS2008 and got this template:
int main(int argc, char
You don't need the QCoreApplication at all, just include your Qt objects as you would other objects, for example:
QCoreApplication
#include int main() { QVector a; // Qt object for (int i=0; i<10; i++) { a.append(i); } /* manipulate a here */ return 0; }