diff options
author | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-01-30 14:01:18 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-01-30 15:04:30 +0200 |
commit | a2f0bd6002708aa0c782684ca6e6982e6e766015 (patch) | |
tree | 8ceb8729821b8d3d4ec18c61b1afd500bc8478cf | |
parent | bab71a8f737956a3bea352b5bfbedd9b550d64ff (diff) |
Pull in QtWidget dependency
Without this Qt Charts examples are crashing - Charts library
uses the Qt Graphics View Framework for drawing.
Change-Id: I96e37b0649912818425d33a5796df7c2d441183d
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
-rw-r--r-- | src/main.cpp | 4 | ||||
-rw-r--r-- | startup.pro | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1d1ab12..91168f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,7 +17,7 @@ ****************************************************************************/ #include <QtCore/QDebug> -#include <QtGui/QGuiApplication> +#include <QtWidgets/QApplication> #include <QtGui/QFont> #include <QtGui/QFontDatabase> #include <QtGui/QScreen> @@ -59,7 +59,7 @@ void displayHelp(const char *appName) int main(int argc, char **argv) { - QGuiApplication app(argc, argv); + QApplication app(argc, argv); QPalette pal; pal.setColor(QPalette::Text, Qt::black); diff --git a/startup.pro b/startup.pro index 0e8eeac..661ac49 100644 --- a/startup.pro +++ b/startup.pro @@ -4,7 +4,7 @@ SOURCES += src/main.cpp \ src/logmanager.cpp \ src/fpscounter.cpp -QT += quick +QT += quick widgets TARGET = qtlauncher QML_FILES += qml |