Change-Id: I315ef3d834e923b649e4306866666549852c254f
Reviewed-on: http://codereview.qt.nokia.com/2825
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
#include <EGL/egl.h>
#endif
-#define XCB_USE_IBUS
#if defined(XCB_USE_IBUS)
#include "QtPlatformSupport/qibusplatforminputcontext.h"
#endif
m_fontDatabase = new QGenericUnixFontDatabase();
m_nativeInterface = new QXcbNativeInterface;
+#if defined(XCB_USE_IBUS)
m_inputContext = new QIBusPlatformInputContext;
+#else
+ m_inputContext = 0;
+#endif
}
QXcbIntegration::~QXcbIntegration()
CONFIG += qpa/genericunixfontdatabase
contains(QT_CONFIG, dbus) {
+DEFINES += XCB_USE_IBUS
QT += dbus
LIBS += -ldbus-1
}