Made qpluginbase.pri into a feature profile.

This enables other modules to use it without having access to the
QtBase sources.

Change-Id: I0a588b2e14ca88fa068c7c2bcc69ff669444f6c6
Task: QTBUG-19585
Reviewed-on: http://codereview.qt.nokia.com/237
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
axis 2011-05-27 10:10:36 +02:00 committed by Qt Continuous Integration System
parent 0b2ce85200
commit a8814fcb69
58 changed files with 98 additions and 97 deletions

View File

@ -0,0 +1,41 @@
TEMPLATE = lib
isEmpty(QT_MAJOR_VERSION) {
VERSION=5.0.0
} else {
VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
}
CONFIG += qt plugin
win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release
TARGET = $$qtLibraryTarget($$TARGET)
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
load(qt_targets)
wince*:LIBS += $$QMAKE_LIBS_GUI
symbian: {
TARGET.EPOCALLOWDLLDATA=1
TARGET.CAPABILITY = All -Tcb
TARGET = $${TARGET}$${QT_LIBINFIX}
load(armcc_warnings)
# Make partial upgrade SIS file for Qt plugin dll's
# Partial upgrade SIS file
vendorinfo = \
"; Localised Vendor name" \
"%{\"Nokia\"}" \
" " \
"; Unique Vendor name" \
":\"Nokia, Qt\"" \
" "
isEmpty(QT_LIBINFIX): PARTIAL_UPGRADE_UID = 0x2001E61C
else: PARTIAL_UPGRADE_UID = 0xE001E61C
pu_header = "; Partial upgrade package for testing $${TARGET} changes without reinstalling everything" \
"$${LITERAL_HASH}{\"$${TARGET}\"}, ($$PARTIAL_UPGRADE_UID), $${QT_MAJOR_VERSION},$${QT_MINOR_VERSION},$${QT_PATCH_VERSION}, TYPE=PU"
partial_upgrade.pkg_prerules = pu_header vendorinfo
partial_upgrade.files = $$QMAKE_LIBDIR_QT/$${TARGET}.dll
partial_upgrade.path = c:/sys/bin
DEPLOYMENT += partial_upgrade
}

View File

@ -1,5 +1,5 @@
TARGET = qtaccessiblewidgets
include(../../qpluginbase.pri)
load(qt_plugin)
include (../qaccessiblebase.pri)
QT += core-private gui-private

View File

@ -1,5 +1,5 @@
TARGET = qconnmanbearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core network-private dbus

View File

@ -1,5 +1,5 @@
TARGET = qcorewlanbearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core-private network-private
LIBS += -framework Foundation -framework SystemConfiguration

View File

@ -1,5 +1,5 @@
TARGET = qgenericbearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core-private network-private

View File

@ -1,5 +1,5 @@
TARGET = qicdbearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core network dbus

View File

@ -1,5 +1,5 @@
TARGET = qnativewifibearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core-private network-private

View File

@ -1,5 +1,5 @@
TARGET = qnmbearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core network-private dbus

View File

@ -1,5 +1,5 @@
TARGET = qnlabearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core network

View File

@ -1,5 +1,5 @@
TARGET = qsymbianbearer
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core network

View File

@ -1,5 +1,5 @@
TARGET = qcncodecs
include(../../qpluginbase.pri)
load(qt_plugin)
CONFIG += warn_on
DESTDIR = $$QT.core.plugins/codecs

View File

@ -1,5 +1,5 @@
TARGET = qjpcodecs
include(../../qpluginbase.pri)
load(qt_plugin)
CONFIG += warn_on
DESTDIR = $$QT.core.plugins/codecs

View File

@ -1,5 +1,5 @@
TARGET = qkrcodecs
include(../../qpluginbase.pri)
load(qt_plugin)
CONFIG += warn_on
DESTDIR = $$QT.core.plugins/codecs

View File

@ -1,5 +1,5 @@
TARGET = qtwcodecs
include(../../qpluginbase.pri)
load(qt_plugin)
CONFIG += warn_on
DESTDIR = $$QT.core.plugins/codecs

View File

@ -1,5 +1,5 @@
TARGET = qdecorationdefault
include(../../qpluginbase.pri)
load(qt_plugin)
HEADERS = $$QT_SOURCE_TREE/src/gui/embedded/qdecorationdefault_qws.h
SOURCES = main.cpp \

View File

@ -1,5 +1,5 @@
TARGET = qdecorationstyled
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/decorations
target.path += $$[QT_INSTALL_PLUGINS]/decorations

View File

@ -1,5 +1,5 @@
TARGET = qdecorationwindows
include(../../qpluginbase.pri)
load(qt_plugin)
HEADERS = $$QT_SOURCE_TREE/src/gui/embedded/qdecorationwindows_qws.h
SOURCES = main.cpp \

View File

@ -1,5 +1,5 @@
TARGET = qlinuxinputplugin
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/generic
target.path = $$[QT_INSTALL_PLUGINS]/generic

View File

@ -1,5 +1,5 @@
TARGET = qlinuxinputplugin
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/generic
target.path = $$[QT_INSTALL_PLUGINS]/generic

View File

@ -1,5 +1,5 @@
TARGET = qahiscreen
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/gfxdrivers

View File

@ -1,5 +1,5 @@
TARGET = qdirectfbscreen
include(../../qpluginbase.pri)
load(qt_plugin)
include($$QT_SOURCE_TREE/src/gui/embedded/directfb.pri)
DESTDIR = $$QT.gui.plugins/gfxdrivers

View File

@ -1,5 +1,5 @@
TARGET = qeglnullws
include(../../qpluginbase.pri)
load(qt_plugin)
CONFIG += warn_on
QT += opengl

View File

@ -1,5 +1,5 @@
TARGET = qscreenlinuxfb
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/gfxdrivers

View File

@ -1,5 +1,5 @@
TARGET = qscreenvfb
include(../../qpluginbase.pri)
load(qt_plugin)
DEFINES += QT_QWS_QVFB QT_QWS_MOUSE_QVFB QT_QWS_KBD_QVFB

View File

@ -1,5 +1,5 @@
TARGET = qgfxtransformed
include(../../qpluginbase.pri)
load(qt_plugin)
DEFINES += QT_QWS_TRANSFORMED

View File

@ -1,5 +1,5 @@
TARGET = qgfxvnc
include(../../qpluginbase.pri)
load(qt_plugin)
DEFINES += QT_QWS_VNC

View File

@ -1,5 +1,5 @@
TARGET = qmeegographicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += gui opengl

View File

@ -1,5 +1,5 @@
TARGET = qglgraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += core-private gui-private opengl-private

View File

@ -1,5 +1,5 @@
TARGET = qvggraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += openvg

View File

@ -1,5 +1,5 @@
TARGET = qshivavggraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += openvg

View File

@ -1,5 +1,5 @@
TARGET = qtracegraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += core-private gui-private network

View File

@ -1,5 +1,5 @@
TARGET = qgif
include(../../qpluginbase.pri)
load(qt_plugin)
include(../../../gui/image/qgifhandler.pri)
SOURCES += $$PWD/main.cpp

View File

@ -1,5 +1,5 @@
TARGET = qico
include(../../qpluginbase.pri)
load(qt_plugin)
QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-ico)"

View File

@ -1,5 +1,5 @@
TARGET = qjpeg
include(../../qpluginbase.pri)
load(qt_plugin)
QT += core-private

View File

@ -1,5 +1,5 @@
TARGET = qmng
include(../../qpluginbase.pri)
load(qt_plugin)
QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-mng)"

View File

@ -1,5 +1,5 @@
TARGET = qtiff
include(../../qpluginbase.pri)
load(qt_plugin)
QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-tiff)"

View File

@ -1,5 +1,5 @@
TARGET = qimsw-multi
include(../../qpluginbase.pri)
load(qt_plugin)
CONFIG += warn_on
DESTDIR = $$QT.gui.plugins/inputmethods

View File

@ -1,5 +1,5 @@
TARGET = qlinuxinputkbddriver
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/kbddrivers
target.path = $$[QT_INSTALL_PLUGINS]/kbddrivers

View File

@ -1,5 +1,5 @@
TARGET = qlinuxtpmousedriver
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/mousedrivers
target.path = $$[QT_INSTALL_PLUGINS]/mousedrivers

View File

@ -1,5 +1,5 @@
TARGET = qpcmousedriver
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/mousedrivers
target.path = $$[QT_INSTALL_PLUGINS]/mousedrivers

View File

@ -1,5 +1,5 @@
TARGET = qtslibmousedriver
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/mousedrivers

View File

@ -1,5 +1,5 @@
TARGET = qcocoa
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/platforms
OBJECTIVE_SOURCES = main.mm \

View File

@ -1,5 +1,5 @@
TARGET = qdirectfb
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/platforms
isEmpty(DIRECTFB_LIBS) {

View File

@ -26,4 +26,4 @@
QT_SOURCE_TREE = $$fromfile($$(QTDIR)/.qmake.cache,QT_SOURCE_TREE)
QT_BUILD_TREE = $$fromfile($$(QTDIR)/.qmake.cache,QT_BUILD_TREE)
include($$QT_SOURCE_TREE/src/plugins/qpluginbase.pri)
load(qt_plugin)

View File

@ -6,7 +6,7 @@
#QT -= core gui
TARGET = fb_base
#include(../../qpluginbase.pri)
#load(qt_plugin)
DESTDIR = $$QT.gui.plugins/graphicssystems

View File

@ -1,5 +1,5 @@
TARGET = qlinuxfbgraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/platforms

View File

@ -1,5 +1,5 @@
TARGET = qminimal
include(../../qpluginbase.pri)
load(qt_plugin)
QT = core-private gui-private
DESTDIR = $$QT.gui.plugins/platforms

View File

@ -1,5 +1,5 @@
TARGET = qopenkodeintegration
include(../../qpluginbase.pri)
load(qt_plugin)
QT += opengl

View File

@ -1,5 +1,5 @@
TARGET = qvglitegraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += openvg

View File

@ -1,5 +1,5 @@
TARGET = qvfbintegration
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/platforms

View File

@ -1,5 +1,5 @@
TARGET = quikit
include(../../qpluginbase.pri)
load(qt_plugin)
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
QT += opengl

View File

@ -1,5 +1,5 @@
TARGET = qvncgraphicssystem
include(../../qpluginbase.pri)
load(qt_plugin)
QT += network

View File

@ -1,5 +1,5 @@
TARGET = qwayland
include(../../qpluginbase.pri)
load(qt_plugin)
QT+=gui-private core-private opengl-private

View File

@ -1,6 +1,6 @@
TARGET = xcb
include(../../qpluginbase.pri)
load(qt_plugin)
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
QT += core-private gui-private

View File

@ -1,6 +1,6 @@
TARGET = qxlib
include(../../qpluginbase.pri)
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/platforms
QT += core-private gui-private opengl-private

View File

@ -1,41 +1 @@
TEMPLATE = lib
isEmpty(QT_MAJOR_VERSION) {
VERSION=5.0.0
} else {
VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
}
CONFIG += qt plugin
win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release
TARGET = $$qtLibraryTarget($$TARGET)
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
include(../qt_targets.pri)
wince*:LIBS += $$QMAKE_LIBS_GUI
symbian: {
TARGET.EPOCALLOWDLLDATA=1
TARGET.CAPABILITY = All -Tcb
TARGET = $${TARGET}$${QT_LIBINFIX}
load(armcc_warnings)
# Make partial upgrade SIS file for Qt plugin dll's
# Partial upgrade SIS file
vendorinfo = \
"; Localised Vendor name" \
"%{\"Nokia\"}" \
" " \
"; Unique Vendor name" \
":\"Nokia, Qt\"" \
" "
isEmpty(QT_LIBINFIX): PARTIAL_UPGRADE_UID = 0x2001E61C
else: PARTIAL_UPGRADE_UID = 0xE001E61C
pu_header = "; Partial upgrade package for testing $${TARGET} changes without reinstalling everything" \
"$${LITERAL_HASH}{\"$${TARGET}\"}, ($$PARTIAL_UPGRADE_UID), $${QT_MAJOR_VERSION},$${QT_MINOR_VERSION},$${QT_PATCH_VERSION}, TYPE=PU"
partial_upgrade.pkg_prerules = pu_header vendorinfo
partial_upgrade.files = $$QMAKE_LIBDIR_QT/$${TARGET}.dll
partial_upgrade.path = c:/sys/bin
DEPLOYMENT += partial_upgrade
}
load(qt_plugin)

View File

@ -1,6 +1,6 @@
# Note: These version based 'plugins' are not an actual Qt plugins,
# they are just regular runtime loaded libraries
include(../qpluginbase.pri)
load(qt_plugin)
CONFIG -= plugin

View File

@ -1,4 +1,4 @@
include(../qpluginbase.pri)
load(qt_plugin)
QT = core sql-private
DESTDIR = $$QT.sql.plugins/sqldrivers