Move QPlatformInputContextPlugin/Factory to QtGui
PlatformSupport is no longer shared and there should be no plugin factory in it otherwise it will break plugin loading. Since PlatformInputContext is already in QtGui, so move QPlatformInput- ContextPlugin/Factory to resolve the platforminputcontexts plugin loading problem. And remove platformsupport-private dependency from existing inputcontexts plugin. Change-Id: If4cb766470b8f9c8b72157da86cb33b4e1ff09e3 Reviewed-by: Pekka Vuorela <pekka.ta.vuorela@nokia.com>
This commit is contained in:
parent
fdcdae21d8
commit
4dd2de9c76
@ -16,6 +16,8 @@ HEADERS += \
|
||||
kernel/qplatformscreen_p.h \
|
||||
kernel/qplatforminputcontext.h \
|
||||
kernel/qplatforminputcontext_p.h \
|
||||
kernel/qplatforminputcontextfactory_p.h \
|
||||
kernel/qplatforminputcontextplugin_p.h \
|
||||
kernel/qplatformintegrationfactory_p.h \
|
||||
kernel/qplatformintegrationplugin.h \
|
||||
kernel/qplatformtheme.h\
|
||||
@ -67,6 +69,8 @@ SOURCES += \
|
||||
kernel/qgenericpluginfactory_qpa.cpp \
|
||||
kernel/qgenericplugin_qpa.cpp \
|
||||
kernel/qwindowsysteminterface_qpa.cpp \
|
||||
kernel/qplatforminputcontextfactory_qpa.cpp \
|
||||
kernel/qplatforminputcontextplugin_qpa.cpp \
|
||||
kernel/qplatforminputcontext_qpa.cpp \
|
||||
kernel/qplatformintegration_qpa.cpp \
|
||||
kernel/qplatformdrag_qpa.cpp \
|
||||
|
@ -62,7 +62,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
class QPlatformInputContext;
|
||||
|
||||
class QPlatformInputContextFactory
|
||||
class Q_GUI_EXPORT QPlatformInputContextFactory
|
||||
{
|
||||
public:
|
||||
static QStringList keys();
|
@ -65,7 +65,7 @@ class QPlatformInputContext;
|
||||
|
||||
#define QPlatformInputContextFactoryInterface_iid "org.qt-project.Qt.QPlatformInputContextFactoryInterface"
|
||||
|
||||
class Q_PLATFORMSUPPORT_EXPORT QPlatformInputContextPlugin : public QObject
|
||||
class Q_GUI_EXPORT QPlatformInputContextPlugin : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
@ -1,6 +0,0 @@
|
||||
HEADERS += \
|
||||
$$PWD/qplatforminputcontextplugin_p.h \
|
||||
$$PWD/qplatforminputcontextfactory_p.h
|
||||
SOURCES += \
|
||||
$$PWD/qplatforminputcontextplugin_qpa.cpp \
|
||||
$$PWD/qplatforminputcontextfactory_qpa.cpp
|
@ -18,7 +18,6 @@ include(fb_base/fb_base.pri)
|
||||
include(fontdatabases/fontdatabases.pri)
|
||||
include(glxconvenience/glxconvenience.pri)
|
||||
include(input/input.pri)
|
||||
include(inputcontext/inputcontext.pri)
|
||||
include(devicediscovery/devicediscovery.pri)
|
||||
include(services/services.pri)
|
||||
include(themes/themes.pri)
|
||||
|
@ -3,7 +3,7 @@ load(qt_plugin)
|
||||
|
||||
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforminputcontexts
|
||||
|
||||
QT += dbus platformsupport-private gui-private
|
||||
QT += dbus gui-private
|
||||
SOURCES += $$PWD/qibusplatforminputcontext.cpp \
|
||||
$$PWD/qibusproxy.cpp \
|
||||
$$PWD/qibusinputcontextproxy.cpp \
|
||||
|
@ -3,7 +3,7 @@ load(qt_plugin)
|
||||
|
||||
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforminputcontexts
|
||||
|
||||
QT += dbus platformsupport-private gui-private
|
||||
QT += dbus gui-private
|
||||
SOURCES += $$PWD/qmaliitplatforminputcontext.cpp \
|
||||
$$PWD/serverproxy.cpp \
|
||||
$$PWD/serveraddressproxy.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user