2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += static
|
|
|
|
|
|
|
|
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
|
|
|
|
DEFINES += QT_OPENGL_SUPPORT
|
2011-05-08 07:13:40 +00:00
|
|
|
QT += opengl widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build_all:!build_pass {
|
|
|
|
CONFIG -= build_all
|
|
|
|
CONFIG += release
|
|
|
|
}
|
|
|
|
TARGET = demo_shared
|
2011-07-25 08:07:13 +00:00
|
|
|
QT += widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
arthurstyle.cpp\
|
|
|
|
arthurwidgets.cpp \
|
|
|
|
hoverpoints.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
arthurstyle.h \
|
|
|
|
arthurwidgets.h \
|
|
|
|
hoverpoints.h
|
|
|
|
|
|
|
|
RESOURCES += shared.qrc
|
|
|
|
|
|
|
|
# install
|
2011-06-22 10:34:15 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.pri images
|
2011-06-22 10:34:15 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += sources
|
|
|
|
|
|
|
|
!cross_compile:INSTALLS += target
|
|
|
|
|
|
|
|
symbian {
|
|
|
|
TARGET.UID3 = 0xA000A63C
|
2011-04-27 10:05:43 +00:00
|
|
|
CONFIG += qt_demo
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|