- Maemo/Symbian are no longer supported and QWidget-based examples are no longer supposed to run on mobile platforms, so, remove any Maemo/Symbian or mobile-specific code from source files and profiles. - Remove Maemo/Symbian vibration examples. - Change Q_WS_MAC/WIN to Q_OS_MAC/WIN where appropriate. Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com> Change-Id: I488a0adadb98934567aa6416206a80465c9c3a81 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
37 lines
865 B
Prolog
37 lines
865 B
Prolog
TEMPLATE = subdirs
|
|
|
|
contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2){
|
|
contains(QT_CONFIG, opengles2) {
|
|
SUBDIRS = hellogl_es2
|
|
} else {
|
|
SUBDIRS = hellogl_es
|
|
}
|
|
SUBDIRS += textures
|
|
contains(QT_CONFIG, opengles1) {
|
|
SUBDIRS += hellogl
|
|
}
|
|
} else {
|
|
SUBDIRS = 2dpainting \
|
|
cube \
|
|
grabber \
|
|
hellogl \
|
|
overpainting \
|
|
pbuffers \
|
|
framebufferobject2 \
|
|
samplebuffers \
|
|
textures
|
|
}
|
|
|
|
qpa {
|
|
SUBDIRS += hellowindow
|
|
SUBDIRS += paintedwindow
|
|
}
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS opengl.pro README
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl
|
|
INSTALLS += target sources
|
|
|
|
QT += widgets
|