I am trying to use Qt 4.0 with devCpp.
I have a weird error when i try to compile this simple code :
#include <QtGui/QApplication>
int main(int argc, char *argv[])
{
QApplication qApp(argc, argv);
return qApp.exec();
}
The error is :
10 : no matching function for call to QApplication::QApplication(QApplication*)'
10 : note : candidates are :
[...]
note : QApplication::QApplication(int&, char**)
I've never seen that before ! where does it come from ?!