qt5base-lts/examples/painting/composition/composition.pro

29 lines
600 B
Prolog
Raw Normal View History

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
2011-05-08 07:13:40 +00:00
QT += opengl 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
}