aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ivivehiclefunctions/climate_qml/main.cpp
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2020-01-29 16:52:12 +0100
committerDominik Holland <dominik.holland@qt.io>2020-01-29 17:03:03 +0100
commit89d3ea0c02f64173d47a7d1def16de22c3361158 (patch)
tree59d90e344ef55f353e9fee2f83c6913c4c885a0f /examples/ivivehiclefunctions/climate_qml/main.cpp
parent2cbee7815a6be32d3ce367d6109451049fda061d (diff)
Fix building without widgets
Change-Id: I6442a6c1db7724febac1afffd52221d96adb8309 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/ivivehiclefunctions/climate_qml/main.cpp')
-rw-r--r--examples/ivivehiclefunctions/climate_qml/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ivivehiclefunctions/climate_qml/main.cpp b/examples/ivivehiclefunctions/climate_qml/main.cpp
index 192c982..eeffc04 100644
--- a/examples/ivivehiclefunctions/climate_qml/main.cpp
+++ b/examples/ivivehiclefunctions/climate_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")));