88016d30a0
Fixes remnants of an automated QtGui -> QtWidgets port. Change-Id: I31f63bdd6ae71aee8e70b20e24def30e0eafb725 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
30 lines
606 B
Prolog
30 lines
606 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
|
|
}
|
|
QT += 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
|
|
}
|