You had me pretty confused on this one. It seems like qApp is a macro or something (reserved word).
I changed it to:
QApplication a(argc, argv);
return a.exec();
and then it worked fine.
David
daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204
I'm pretty sure it has to be like this:
QApplication qApp(&argc, &argv);
Ooops, got GTK+ mixed up with QT4.
gerard4143
Nearly a Posting Maven
2,272 posts since Jan 2008
Reputation Points: 512
Solved Threads: 387