diff options
Diffstat (limited to 'examples/dbus/remotecontrolledcar/car')
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/car.cpp | 2 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/car.pro | 1 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/main.cpp | 6 |
3 files changed, 5 insertions, 4 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/car.cpp b/examples/dbus/remotecontrolledcar/car/car.cpp index 50f8f24d3e..d42db25d10 100644 --- a/examples/dbus/remotecontrolledcar/car/car.cpp +++ b/examples/dbus/remotecontrolledcar/car/car.cpp @@ -39,7 +39,7 @@ ****************************************************************************/ #include "car.h" -#include <QtGui/QtGui> +#include <QtWidgets/QtWidgets> #include <math.h> static const double Pi = 3.14159265358979323846264338327950288419717; diff --git a/examples/dbus/remotecontrolledcar/car/car.pro b/examples/dbus/remotecontrolledcar/car/car.pro index b7f232f7a2..7ae919ceca 100644 --- a/examples/dbus/remotecontrolledcar/car/car.pro +++ b/examples/dbus/remotecontrolledcar/car/car.pro @@ -19,6 +19,7 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/dbus/remotecontrolledcar/car INSTALLS += target sources symbian: CONFIG += qt_example +QT += widgets maemo5: CONFIG += qt_example symbian: warning(This example does not work on Symbian platform) simulator: warning(This example does not work on Simulator platform) diff --git a/examples/dbus/remotecontrolledcar/car/main.cpp b/examples/dbus/remotecontrolledcar/car/main.cpp index 342a2b0c5d..df68f6125b 100644 --- a/examples/dbus/remotecontrolledcar/car/main.cpp +++ b/examples/dbus/remotecontrolledcar/car/main.cpp @@ -40,9 +40,9 @@ #include "car.h" #include "car_adaptor.h" -#include <QtGui/QApplication> -#include <QtGui/QGraphicsView> -#include <QtGui/QGraphicsScene> +#include <QtWidgets/QApplication> +#include <QtWidgets/QGraphicsView> +#include <QtWidgets/QGraphicsScene> #include <QtDBus/QDBusConnection> int main(int argc, char *argv[]) |