diff options
Diffstat (limited to 'examples/ivivehiclefunctions/window_qml')
-rw-r--r-- | examples/ivivehiclefunctions/window_qml/main.cpp | 4 | ||||
-rw-r--r-- | examples/ivivehiclefunctions/window_qml/window_qml.pro | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/ivivehiclefunctions/window_qml/main.cpp b/examples/ivivehiclefunctions/window_qml/main.cpp index 192c982..eeffc04 100644 --- a/examples/ivivehiclefunctions/window_qml/main.cpp +++ b/examples/ivivehiclefunctions/window_qml/main.cpp @@ -51,12 +51,12 @@ ** ****************************************************************************/ -#include <QApplication> +#include <QGuiApplication> #include <QQmlApplicationEngine> int main(int argc, char *argv[]) { - QApplication app(argc, argv); + QGuiApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); diff --git a/examples/ivivehiclefunctions/window_qml/window_qml.pro b/examples/ivivehiclefunctions/window_qml/window_qml.pro index 98368a3..19ec158 100644 --- a/examples/ivivehiclefunctions/window_qml/window_qml.pro +++ b/examples/ivivehiclefunctions/window_qml/window_qml.pro @@ -1,6 +1,6 @@ TEMPLATE = app -QT += qml quick widgets +QT += qml quick SOURCES += main.cpp |