2011-04-27 10:05:43 +00:00
|
|
|
SOURCES += main.cpp composition.cpp
|
|
|
|
HEADERS += composition.h
|
|
|
|
|
|
|
|
SHARED_FOLDER = ../shared
|
|
|
|
|
|
|
|
include($$SHARED_FOLDER/shared.pri)
|
|
|
|
|
|
|
|
RESOURCES += composition.qrc
|
2014-06-26 12:32:47 +00:00
|
|
|
qtHaveModule(opengl): !contains(QT_CONFIG,dynamicgl) {
|
|
|
|
DEFINES += USE_OPENGL
|
|
|
|
QT += opengl
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
2012-02-23 06:26:29 +00:00
|
|
|
QT += widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
# install
|
2012-11-26 13:04:31 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/composition
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
win32-msvc* {
|
|
|
|
QMAKE_CXXFLAGS += /Zm500
|
|
|
|
QMAKE_CFLAGS += /Zm500
|
|
|
|
}
|
|
|
|
|
|
|
|
wince* {
|
|
|
|
DEPLOYMENT_PLUGIN += qjpeg
|
|
|
|
}
|