Files
qt4-x11/demos/shared/shared.pro
2025-08-24 20:55:26 +08:00

39 lines
741 B
Prolog

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