87274e272d
- 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>
29 lines
600 B
Prolog
29 lines
600 B
Prolog
SOURCES += main.cpp composition.cpp
|
|
HEADERS += composition.h
|
|
|
|
SHARED_FOLDER = ../shared
|
|
|
|
include($$SHARED_FOLDER/shared.pri)
|
|
|
|
RESOURCES += composition.qrc
|
|
contains(QT_CONFIG, opengl) {
|
|
DEFINES += QT_OPENGL_SUPPORT
|
|
QT += opengl widgets
|
|
}
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.jpg *.pro *.html
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
|
|
INSTALLS += target sources
|
|
|
|
|
|
win32-msvc* {
|
|
QMAKE_CXXFLAGS += /Zm500
|
|
QMAKE_CFLAGS += /Zm500
|
|
}
|
|
|
|
wince* {
|
|
DEPLOYMENT_PLUGIN += qjpeg
|
|
}
|