#include <QtGui/qinputcontext.h> #ifndef QINPUTCONTEXT_H #ifndef QT_NO_IM class QInputContext: public QObject{ /* Some contents are skipped to improve readability */ public: static struct QMetaObject const staticMetaObject; /* ... */ }; #endif //Q_NO_IM #endif // QINPUTCONTEXT_H