summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/cylinder/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/cylinder/main.cpp')
-rw-r--r--examples/qt3d/cylinder/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/qt3d/cylinder/main.cpp b/examples/qt3d/cylinder/main.cpp
index 27ffd1739..cd968949c 100644
--- a/examples/qt3d/cylinder/main.cpp
+++ b/examples/qt3d/cylinder/main.cpp
@@ -38,12 +38,13 @@
**
****************************************************************************/
-#include <QApplication>
+#include <QGuiApplication>
+
#include "cylinderview.h"
int main(int argc, char *argv[])
{
- QApplication app(argc, argv);
+ QGuiApplication app(argc, argv);
CylinderView view;
if (view.stereoType() != QGLView::RedCyanAnaglyph)