99b997c4d5
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>
29 lines
462 B
Prolog
29 lines
462 B
Prolog
QT += core gui widgets
|
|
|
|
TARGET = cube
|
|
TEMPLATE = app
|
|
|
|
SOURCES += main.cpp
|
|
|
|
contains(QT_CONFIG, opengl) {
|
|
QT += opengl
|
|
|
|
SOURCES += mainwidget.cpp \
|
|
geometryengine.cpp
|
|
|
|
HEADERS += \
|
|
mainwidget.h \
|
|
geometryengine.h
|
|
|
|
RESOURCES += \
|
|
shaders.qrc \
|
|
textures.qrc
|
|
|
|
OTHER_FILES += \
|
|
vshader.glsl \
|
|
fshader.glsl
|
|
}
|
|
|
|
|
|
simulator: warning(This example might not fully work on Simulator platform)
|