summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/opengl/cube/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/cube/main.cpp b/examples/opengl/cube/main.cpp
index 715d46dde7..a414fad023 100644
--- a/examples/opengl/cube/main.cpp
+++ b/examples/opengl/cube/main.cpp
@@ -50,7 +50,7 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
app.setApplicationName("cube");
app.setApplicationVersion("0.1");
-#ifdef QT_NO_OPENGL
+#ifndef QT_NO_OPENGL
MainWidget widget;
widget.show();
#else