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
|
|
|
|
contains(QT_CONFIG, opengl) {
|
|
|
|
DEFINES += QT_OPENGL_SUPPORT
|
2012-02-23 06:26:29 +00:00
|
|
|
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
|
2011-06-23 14:46:25 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.jpg *.pro *.html
|
2011-06-23 14:46:25 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += target sources
|
|
|
|
|
|
|
|
|
|
|
|
win32-msvc* {
|
|
|
|
QMAKE_CXXFLAGS += /Zm500
|
|
|
|
QMAKE_CFLAGS += /Zm500
|
|
|
|
}
|
|
|
|
|
|
|
|
wince* {
|
|
|
|
DEPLOYMENT_PLUGIN += qjpeg
|
|
|
|
}
|