314fdbce8c
Conflicts: config.tests/unix/opengldesktop/opengldesktop.cpp examples/itemviews/interview/interview.pro examples/mainwindows/mainwindow/mainwindow.pro examples/openvg/README examples/richtext/textedit/textedit.pro examples/tools/undo/undo.pro src/corelib/global/qglobal.h src/corelib/kernel/qcoreapplication.h src/corelib/kernel/qcoreevent.h src/corelib/kernel/qmetatype.h src/gui/kernel/qevent.cpp src/gui/kernel/qevent.h src/gui/painting/qpaintengine_raster.cpp src/gui/painting/qpaintengine_raster_p.h src/gui/text/qfontdatabase.cpp src/opengl/qgl.h src/openvg/qpaintengine_vg.cpp src/plugins/platforms/wayland/qwaylandwindow.cpp tests/auto/qmainwindow/qmainwindow.pro Change-Id: I6bfb586740a68379bb99f4612ec993393a5f3234
30 lines
630 B
Prolog
30 lines
630 B
Prolog
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
|
|
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
|
|
|
|
symbian: CONFIG += qt_example
|
|
|
|
win32-msvc* {
|
|
QMAKE_CXXFLAGS += /Zm500
|
|
QMAKE_CFLAGS += /Zm500
|
|
}
|
|
|
|
wince* {
|
|
DEPLOYMENT_PLUGIN += qjpeg
|
|
}
|