It's not enough to link to libQtGui, QGuiApplication must also be used.
Change-Id: Ie8ea0e3aa711308052fcbd4e670eef7fc1269403
Reviewed-on: http://codereview.qt-project.org/5516
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
-#include <QtCore/QCoreApplication>
+#include <QtGui/QGuiApplication>
#include <QtCore/QTranslator>
#include <QtCore/QLocale>
#include <QtCore/QLibraryInfo>
bool showVersion = false;
bool checkLinks = false;
- QCoreApplication app(argc, argv);
+ QGuiApplication app(argc, argv);
#ifndef Q_OS_WIN32
QTranslator translator;
QTranslator qtTranslator;