Cleaned up examples/opengl/cube/cube.pro, removed message()
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 28 Feb 2012 06:07:07 +0000 (16:07 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 02:09:38 +0000 (03:09 +0100)
It's arbitrary and confusing to put a message(OpenGL support is enabled)
in this one OpenGL example and no others, especially since the message
is output during configure.

Change-Id: I7b55868d10c288f3459a7fda594fea1e6f45bf9a
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
examples/opengl/cube/cube.pro

index ef6f526..98a3082 100644 (file)
@@ -1,9 +1,3 @@
-#-------------------------------------------------
-#
-# Project created by QtCreator 2010-06-23T12:55:35
-#
-#-------------------------------------------------
-
 QT       += core gui widgets
 
 TARGET = cube
@@ -12,7 +6,6 @@ TEMPLATE = app
 SOURCES += main.cpp
 
 contains(QT_CONFIG, opengl) {
-    message(Building with OpenGL support.)
     QT += opengl
 
     SOURCES += mainwidget.cpp \
@@ -29,8 +22,6 @@ contains(QT_CONFIG, opengl) {
     OTHER_FILES += \
         vshader.glsl \
         fshader.glsl
-} else {
-    message(OpenGL support is not available.)
 }