0
|
1 |
TEMPLATE = lib
|
|
2 |
CONFIG += static
|
|
3 |
|
|
4 |
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
|
|
5 |
DEFINES += QT_OPENGL_SUPPORT
|
|
6 |
QT += opengl
|
|
7 |
}
|
|
8 |
|
|
9 |
build_all:!build_pass {
|
|
10 |
CONFIG -= build_all
|
|
11 |
CONFIG += release
|
|
12 |
}
|
|
13 |
TARGET = demo_shared
|
|
14 |
|
|
15 |
SOURCES += \
|
|
16 |
arthurstyle.cpp\
|
|
17 |
arthurwidgets.cpp \
|
|
18 |
hoverpoints.cpp
|
|
19 |
|
|
20 |
HEADERS += \
|
|
21 |
arthurstyle.h \
|
|
22 |
arthurwidgets.h \
|
|
23 |
hoverpoints.h
|
|
24 |
|
|
25 |
RESOURCES += shared.qrc
|
|
26 |
|
|
27 |
# install
|
|
28 |
target.path = $$[QT_INSTALL_DEMOS]/shared
|
|
29 |
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.pri images
|
|
30 |
sources.path = $$[QT_INSTALL_DEMOS]/shared
|
|
31 |
INSTALLS += sources
|
|
32 |
|
|
33 |
!cross_compile:INSTALLS += target
|
|
34 |
|
|
35 |
symbian {
|
|
36 |
TARGET.UID3 = 0xA000A63C
|
|
37 |
include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
|
|
38 |
}
|