When installing Qt, I unchecked the MinGW installation option as I have it already installed. Now after installing I am not able to build an example program I found in a book. All the build options in the menu are disabled. the code I am trying to execute is:
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *label = new QLabel("Hello Qt!");
label->show();
return app.exec();
}
When I keep the mouse pointer above the QApplication or QLabel header - the yellow pop up says "No Such File or Directory". I am using the Qt Editor.
Does any one know what the problem might be? Thanks...