Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26109

If QT_NO_IM is set the compilation of Qt fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0
    • 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

          For Gerrit Dashboard: QTBUG-26109
          # Subject Branch Project Status CR V

          Activity

            People

              jing Jing Bai
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes