add stdlib.h in the list of includes in /plugins/src/inputmethods/imsw-none/qnoneinputcontextplugin.h
#include <qstringlist.h>
#include <stdlib.h>
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107159\"][{POST_SNAPBACK}][/a][/div]
I added it .now I can compile two inpuntmethod plugins libqimsw-multi.so and libqimsw-none.so,but I saw the archive qt-x11-free-3.3.4-uim.tar.bz2 you provided have another two plugins libqsimple.so and lib qxim.so ,I use the -inputmethod-ext
still have some errors
kernel/qapplication_x11.cpp: In member function `bool QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&, int&, QEvent::Type&, bool, bool)':
kernel/qapplication_x11.cpp:5128: warning: unused variable 'status'
kernel/qeventloop_x11.cpp: In member function `virtual bool QEventLoop::processEvents(uint)':
kernel/qeventloop_x11.cpp:319: warning: 'ret' might be used uninitialized in this function
kernel/qinputcontext.cpp:707: warning: unused parameter 'x'
kernel/qinputcontext.cpp:707: warning: unused parameter 'button'
kernel/qinputcontext.cpp:707: warning: unused parameter 'state'
kernel/qinputcontext.cpp:681: warning: unused parameter 'x'
kernel/qinputcontext.cpp:681: warning: unused parameter 'y'
kernel/qinputcontext.cpp:681: warning: unused parameter 'w'
kernel/qinputcontext.cpp:681: warning: unused parameter 'h'
kernel/qinputcontext.cpp:681: warning: unused parameter 'f'
kernel/qinputcontext.cpp:479: warning: unused parameter 'event'
kernel/qinputcontext.cpp: In member function `virtual QString QInputContext::identifierName()':
kernel/qinputcontext.cpp:770: warning: control reaches end of non-void function
kernel/qinputcontext.cpp: In member function `virtual QString QInputContext::language()':
kernel/qinputcontext.cpp:791: warning: control reaches end of non-void function
kernel/qinputcontext_x11.cpp:66: warning: unused parameter 'keywidget'
kernel/qinputcontext_x11.cpp:66: warning: unused parameter 'event'
qnoneinputcontextplugin.cpp:83: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:88: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:93: warning: unused parameter 'key'
qmultiinputcontext.cpp:255: warning: unused parameter 'newIndex'
qmultiinputcontextplugin.cpp:66: warning: unused parameter 'key'
qmultiinputcontextplugin.cpp:71: warning: unused parameter 'key'
qmultiinputcontextplugin.cpp:76: warning: unused parameter 'key'
qmultiinputcontextplugin.cpp:81: warning: unused parameter 'key'
qsimpleinputcontext.cpp:48:2: invalid preprocessing directive #in
qsimpleinputcontext.cpp:49:2: invalid preprocessing directive #clude
qsimpleinputcontext.cpp:182: warning: unused parameter 'x'
qsimpleinputcontext.cpp:182: warning: unused parameter 'y'
qsimpleinputcontext.cpp:182: warning: unused parameter 'w'
qsimpleinputcontext.cpp:182: warning: unused parameter 'h'
qsimpleinputcontext.cpp:182: warning: unused parameter 'f'
qsimpleinputcontext.cpp: In member function `bool QSimpleInputContext::checkComposeTable(uint*, const QComposeTable*)':
qsimpleinputcontext.cpp:239: error: `lower_bound' is not a member of `std'
gmake[4]: *** [.obj/release-shared-mt/qsimpleinputcontext.o] error 1
gmake[3]: *** [sub-simple] error 2
gmake[2]: *** [sub-inputmethods] error 2
gmake[1]: *** [sub-plugins] error 2
gmake: *** [init] error 2