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>
-#-------------------------------------------------
-#
-# Project created by QtCreator 2010-06-23T12:55:35
-#
-#-------------------------------------------------
-
QT += core gui widgets
TARGET = cube
SOURCES += main.cpp
contains(QT_CONFIG, opengl) {
- message(Building with OpenGL support.)
QT += opengl
SOURCES += mainwidget.cpp \
OTHER_FILES += \
vshader.glsl \
fshader.glsl
-} else {
- message(OpenGL support is not available.)
}