Cleaned up examples/opengl/cube/cube.pro, removed message()
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>
This commit is contained in:
parent
b804b81288
commit
99b997c4d5
@ -1,9 +1,3 @@
|
|||||||
#-------------------------------------------------
|
|
||||||
#
|
|
||||||
# Project created by QtCreator 2010-06-23T12:55:35
|
|
||||||
#
|
|
||||||
#-------------------------------------------------
|
|
||||||
|
|
||||||
QT += core gui widgets
|
QT += core gui widgets
|
||||||
|
|
||||||
TARGET = cube
|
TARGET = cube
|
||||||
@ -12,7 +6,6 @@ TEMPLATE = app
|
|||||||
SOURCES += main.cpp
|
SOURCES += main.cpp
|
||||||
|
|
||||||
contains(QT_CONFIG, opengl) {
|
contains(QT_CONFIG, opengl) {
|
||||||
message(Building with OpenGL support.)
|
|
||||||
QT += opengl
|
QT += opengl
|
||||||
|
|
||||||
SOURCES += mainwidget.cpp \
|
SOURCES += mainwidget.cpp \
|
||||||
@ -29,8 +22,6 @@ contains(QT_CONFIG, opengl) {
|
|||||||
OTHER_FILES += \
|
OTHER_FILES += \
|
||||||
vshader.glsl \
|
vshader.glsl \
|
||||||
fshader.glsl
|
fshader.glsl
|
||||||
} else {
|
|
||||||
message(OpenGL support is not available.)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user