Fix compile when the parser is included in non GUI applications.
authorRoberto Raggi <roberto.raggi@nokia.com>
Wed, 14 Sep 2011 12:59:09 +0000 (14:59 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Sep 2011 10:07:46 +0000 (12:07 +0200)
Change-Id: I63d910f0f63cd88d919b5487d5b48f6019eca9bd
Reviewed-on: http://codereview.qt-project.org/4895
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/declarative/qml/parser/qdeclarativejs.g

index 6487379..d30c697 100644 (file)
 ****************************************************************************/
 
 #include <QtCore/QtDebug>
-#include <QtGui/QApplication>
+#include <QtCore/QCoreApplication>
 
 #include <string.h>