2011-04-27 10:05:43 +00:00
|
|
|
SOURCES += main.cpp xform.cpp
|
|
|
|
HEADERS += xform.h
|
|
|
|
|
|
|
|
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
|
|
|
|
DEFINES += QT_OPENGL_SUPPORT
|
2011-05-08 07:13:40 +00:00
|
|
|
QT += opengl widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SHARED_FOLDER = ../shared
|
|
|
|
|
|
|
|
include($$SHARED_FOLDER/shared.pri)
|
|
|
|
|
|
|
|
RESOURCES += affine.qrc
|
|
|
|
|
|
|
|
# install
|
2011-06-22 10:34:15 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg
|
2011-06-22 10:34:15 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += target sources
|
|
|
|
|
|
|
|
wince*: {
|
|
|
|
DEPLOYMENT_PLUGIN += qjpeg
|
|
|
|
}
|