I've compiled Qt on OSX Lion using the instructions provided at this official guide. I've then tried compiling the following Hello World with gcc hello_world.cpp -o hello_world
#include <QApplication>int main(int argc, char **argv){ QApplication app (argc, argv); return app.exec();}
I've got the following error:
hello_world.cpp:1:10: fatal error: 'QApplication' file not found#include <QApplication> ^1 error generated.