Improved QAPPLICATION_CLASS macro
Now it can be defined in the cpp file that include it (usually main.cpp).