1287361f64
This will allow us to expose private headers in a controlled manner, and ensure that they are not used by accident. This also means that we internally will have to enable the private headers for the modules we wish to use in the project.
40 lines
739 B
Prolog
40 lines
739 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
|
|
QT += gui-private
|
|
|
|
SOURCES += \
|
|
arthurstyle.cpp\
|
|
arthurwidgets.cpp \
|
|
hoverpoints.cpp
|
|
|
|
HEADERS += \
|
|
arthurstyle.h \
|
|
arthurwidgets.h \
|
|
hoverpoints.h
|
|
|
|
RESOURCES += shared.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_DEMOS]/qtbase/shared
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.pri images
|
|
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/shared
|
|
INSTALLS += sources
|
|
|
|
!cross_compile:INSTALLS += target
|
|
|
|
symbian {
|
|
TARGET.UID3 = 0xA000A63C
|
|
CONFIG += qt_demo
|
|
}
|