qt5base-lts/examples/widgets/painting/shared/shared.pro
Gabriel de Dietrich 806dda08d6 Moving .qdoc files under examples/widgets/doc
Updated those .qdoc files to refer to the new relative examples
emplacement. Images and snippets to be moved later.

Also grouped all widgets related examples under widgets.

Change-Id: Ib29696e2d8948524537f53e8dda88f9ee26a597f
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
2012-08-20 12:20:55 +02:00

35 lines
703 B
Prolog

TEMPLATE = lib
CONFIG += static
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
DEFINES += QT_OPENGL_SUPPORT
QT += opengl widgets
}
build_all:!build_pass {
CONFIG -= build_all
CONFIG += release
}
TARGET = demo_shared
QT += widgets
SOURCES += \
arthurstyle.cpp\
arthurwidgets.cpp \
hoverpoints.cpp
HEADERS += \
arthurstyle.h \
arthurwidgets.h \
hoverpoints.h
RESOURCES += shared.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.pri images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
INSTALLS += sources
!cross_compile:INSTALLS += target