Fix app_includes bug with QApplication class for certain cases