Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.2
-
None
-
Ubuntu 10.04, Fedora 15, Windows 7
-
8c2284e811d6a1e5d1d5f0703f127e66800baf78
Description
Configure:
./configure -prefix . -debug -no-webkit -nomake examples -nomake demos -nomake docs -D QT_NO_IM
If -D QT_NO_IM option is set the compilation of Qt fails on Ubuntu with:
kernel/qwidget_x11.cpp: In member function ‘void QWidgetPrivate::create_sys(WId, bool, bool)’:
kernel/qwidget_x11.cpp:916: error: invalid use of incomplete type ‘struct QInputContext’
../../include/QtGui/../../src/gui/kernel/qwidget.h:98: error: forward declaration of ‘struct QInputContext’
kernel/qwidget_x11.cpp: In member function ‘void QWidget::destroy(bool, bool)’:
kernel/qwidget_x11.cpp:1109: error: ‘class QWidgetPrivate’ has no member named ‘ic’
kernel/qwidget_x11.cpp:1110: error: ‘class QWidgetPrivate’ has no member named ‘ic’
kernel/qwidget_x11.cpp:1116: error: invalid use of incomplete type ‘struct QInputContext’
../../include/QtGui/../../src/gui/kernel/qwidget.h:98: error: forward declaration of ‘struct QInputContext’
On Windows 7:
In file included from ..\..\include\QtGui/private/qwininputcontext_p.h:1,from kernel\qwidget.cpp:93:
..\..\include\QtGui/private/../../../src/gui/inputmethod/qwininputcontext_p.h:75: error: invalid use of incomplete type 'struct QInputContext'
..\..\include/QtGui/../../src/gui/kernel/qwidget.h:98: error: forward declaration of 'struct QInputContext'
kernel\qwidget.cpp: In member function 'void QWidget::setInputContext(QInputContext*)':
Attachments
Issue Links
- replaces
-
QTBUG-27150 IM can't be disabled in qconfig
- Closed
For Gerrit Dashboard: QTBUG-26109 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
44868,5 | To support QT_NO_IM on Linux/Windows/Mac | 4.8 | qt/qt | Status: MERGED | +2 | 0 |