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
Had the same problem. found some videos on Youtube. So here is an even simpler suggestion. This is all the code you need:
#include
int main(int argc, char *argv[])
{
qDebug() <<"Hello World"<< endl;
return 0;
}
The above code comes from Qt5 Tutorial: Building a simple Console application by
Dominique Thiebaut
http://www.youtube.com/watch?v=1_aF6o6t-J4