aeb036ed87
it's confusing for the users if the examples' project files contain code to install their own sources. also, this constitutes an enormous code duplication, and lots of mistakes. consequently, automate it. more or less as a side effect, this also removes the entirely meaningless target installs in subdirs projects. Task-number: QTBUG-28184 Change-Id: I9fc1367a06db9e2c46aeb67d68729a4f67163ef9 Reviewed-by: hjk <qthjk@ovi.com>
23 lines
427 B
Prolog
23 lines
427 B
Prolog
SOURCES += main.cpp xform.cpp
|
|
HEADERS += xform.h
|
|
|
|
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
|
|
DEFINES += QT_OPENGL_SUPPORT
|
|
QT += opengl
|
|
}
|
|
QT += widgets
|
|
|
|
SHARED_FOLDER = ../shared
|
|
|
|
include($$SHARED_FOLDER/shared.pri)
|
|
|
|
RESOURCES += affine.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/affine
|
|
INSTALLS += target
|
|
|
|
wince*: {
|
|
DEPLOYMENT_PLUGIN += qjpeg
|
|
}
|