Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wjping119

Pages: 1 2 [3] 4
31
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 19, 2005, 08:35:55 am »
I am testing it too,you should know the qt_mt_uim was compiled for scim-qtimm,in order to scim support input chinese and other languages in qt apps.

at first,you should setting
export XMODIFIERS="@im=SCIM" (not scim)
export XIM=SCIM
export XIM_PROGRAM=SCIM
export GTK_IM_MODULE=scim (not SCIM)
export QT_IM_MODULE=scim  (not SCIM)

qtconfig >> over the spot

that all.but I can not test it successfully too
you can go to www.scim-im.org to find it's wiki

32
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 17, 2005, 10:29:05 am »
Thank you very much,pgas,you are a kindhearted man.

Then I need compile scim-qtimm( http://prdownloads.sourceforge.net/scim/sc...ar.bz2?download )
although it is very small,but it seems have more problem
it can successfully finish configure

Code: [Select]
[root@MagicLinux scim-qtimm-0.9.3]# make
make  all-recursive
make[1]: Entering directory `/root/Desktop/scim-qtimm-0.9.3'
Making all in src
make[2]: Entering directory `/root/Desktop/scim-qtimm-0.9.3/src'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX armv5tel-cacko-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/qt/include -I/usr/X11R6/include -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include/scim-1.0   -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include/scim-1.0 -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include    -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT qsciminputcontext.lo -MD -MP -MF ".deps/qsciminputcontext.Tpo" \
  -c -o qsciminputcontext.lo `test -f 'qsciminputcontext.cpp' || echo './'`qsciminputcontext.cpp; \
then mv -f ".deps/qsciminputcontext.Tpo" ".deps/qsciminputcontext.Plo"; \
else rm -f ".deps/qsciminputcontext.Tpo"; exit 1; \
fi
qsciminputcontext.cpp:36: error: expected init-declarator before '<' token
qsciminputcontext.cpp:36: error: expected `,' or `;' before '<' token
qsciminputcontext.cpp:81: error: `ScimInputContextRepository' does not name a type
qsciminputcontext.cpp: In member function `void scim::QScimInputContextGlobal::finalize()':
qsciminputcontext.cpp:451: error: `ScimInputContextRepository' has not been declared
qsciminputcontext.cpp:451: error: `iterator' undeclared (first use this function)
qsciminputcontext.cpp:451: error: (Each undeclared identifier is reported only once for each function it appears in.)
qsciminputcontext.cpp:451: error: expected `;' before "it"
qsciminputcontext.cpp:453: error: `it' undeclared (first use this function)
qsciminputcontext.cpp:453: error: `input_contexts' undeclared (first use this function)
qsciminputcontext.cpp: In constructor `scim::QScimInputContext::QScimInputContext()':
qsciminputcontext.cpp:625: error: 'class scim::QScimInputContextGlobal' has no member named 'input_contexts'
qsciminputcontext.cpp: In destructor `virtual scim::QScimInputContext::~QScimInputContext()':
qsciminputcontext.cpp:674: error: 'class scim::QScimInputContextGlobal' has no member named 'input_contexts'
qsciminputcontext.cpp:675: error: 'class scim::QScimInputContextGlobal' has no member named 'input_contexts'
qsciminputcontext.cpp: In static member function `static scim::QScimInputContext* scim::QScimInputContext::find_ic(int)':
qsciminputcontext.cpp:1299: error: 'class scim::QScimInputContextGlobal' has no member named 'input_contexts'
qsciminputcontext.cpp:1300: error: 'class scim::QScimInputContextGlobal' has no member named 'input_contexts'
make[2]: *** [qsciminputcontext.lo] error 1
make[2]: Leaving directory `/root/Desktop/scim-qtimm-0.9.3/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/root/Desktop/scim-qtimm-0.9.3'
make: *** [all] error 2
[root@MagicLinux scim-qtimm-0.9.3]#  

33
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 17, 2005, 07:21:43 am »
Quote
What is the qt-mt-uim for? Is it as I assume to enable you to use uim-xim as an input method in qt apps?

I.e. in Konqueror etc?

If so, how do you do it? Just install this and then uim will work in qt apps? This is interesting...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107382\"][{POST_SNAPBACK}][/a][/div]

yes,you are right.some qt apps cannt input chinese by using scim input method((others I donot know),so it need patch the qt to build the inputmethod plugins

34
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 17, 2005, 06:37:56 am »
I installed it,and it works well  
but I want to know,how you compile it,why so many warnings and errors emerge when I compiling it?

35
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 16, 2005, 11:03:22 pm »
yes,I have done it.and could not  compile out the qtconfig binary at all

36
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 16, 2005, 09:46:40 am »
Quote
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

37
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 15, 2005, 12:58:10 am »
pgas,it seems you compile it for x86,cannot run on zaurus.

I recompile it add your
#include <qglobal.h>
#include <algorithm>
and still can not build the inputmethod plugins

cd inputmethods && make -f Makefile
make[3]: Entering directory `/tmp/qt-x11-free-3.3.4/plugins/src/inputmethods'
cd imsw-none && make -f Makefile
make[4]: Entering directory `/tmp/qt-x11-free-3.3.4/plugins/src/inputmethods/imsw-none'
armv5tel-linux-g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC  -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/tmp/qt-x11-free-3.3.4/mkspecs/armv5tel-linux-g++ -I. -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include/freetype2 -I. -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include -I../../../../include -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include -I/opt/cross/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qnoneinputcontextplugin.o qnoneinputcontextplugin.cpp
qnoneinputcontextplugin.cpp: In member function `virtual QInputContext* QNoneInputContextPlugin::create(const QString&)':
qnoneinputcontextplugin.cpp:72: error: `getenv' undeclared (first use this function)
qnoneinputcontextplugin.cpp:72: error: (Each undeclared identifier is reported only once for each function it appears in.)
qnoneinputcontextplugin.cpp: At global scope:
qnoneinputcontextplugin.cpp:83: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:88: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:93: warning: unused parameter 'key'
make[4]: *** [.obj/release-shared-mt/qnoneinputcontextplugin.o] Error 1
make[4]: Leaving directory `/tmp/qt-x11-free-3.3.4/plugins/src/inputmethods/imsw-none'
make[3]: *** [sub-imsw-none] Error 2
make[3]: Leaving directory `/tmp/qt-x11-free-3.3.4/plugins/src/inputmethods'
make[2]: *** [sub-inputmethods] Error 2
make[2]: Leaving directory `/tmp/qt-x11-free-3.3.4/plugins/src'
make[1]: *** [sub-plugins] Error 2
make[1]: Leaving directory `/tmp/qt-x11-free-3.3.4'
make: *** [init] Error 2
root@darkstar:/tmp/qt-x11-free-3.3.4#

38
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 14, 2005, 08:24:26 am »
Quote
Also you could use my archive which is allready compiled, make install should work
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
are you mean the [a href=\"http://pierre.ellh.com/qt-x11-free-3.3.4-uim.tar.bz2]http://pierre.ellh.com/qt-x11-free-3.3.4-uim.tar.bz2[/url] archive?
I have already tested it by installing it in my c860,when I run qtconfig,systerm  display "cannot execute binary file"
how you configure it?

39
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 14, 2005, 04:06:25 am »
Quote
I read it,but in http://pierre.ellh.com/qt-x11-free-3.3.4-uim.tar.bz2 this file,It provide a script called "make-symlinks.sh" to accomplish making symbolic links
I run it ,but I donnot know if it really works.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107072\"][{POST_SNAPBACK}][/a][/div]

if someone can help me complie "fcitx",who is a very small application(http://www.fcitx.org/main/?q=node/9) successfully,I need not recompile qt any more.

40
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 14, 2005, 03:56:47 am »
I read it,but in http://pierre.ellh.com/qt-x11-free-3.3.4-uim.tar.bz2 this file,It provide a script called "make-symlinks.sh" to accomplish making symbolic links
I run it ,but I donnot know if it really works.

41
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 14, 2005, 03:05:04 am »
pgas,I can not complie successfully
my configure is ./configure -xplatform armv5tel-linux-g++ -thread -qt-gif -no-cups
there are  hundreds of warnings and some errors,and the most important inputmethods plugins cannot build successfully.do someone give some help,it is very improtant for me.


../../../../src/3rdparty/libjpeg/jmemnobs.c:106: warning: unused parameter 'cinfo'
../../../../src/3rdparty/libjpeg/jmemnobs.c:100: warning: unused parameter 'cinfo'
../../../../src/3rdparty/libjpeg/jmemnobs.c:87: warning: unused parameter 'info'
../../../../src/3rdparty/libjpeg/jmemnobs.c:88: warning: unused parameter 'total_bytes_needed'
../../../../src/3rdparty/libjpeg/jmemnobs.c:73: warning: unused parameter 'cinfo'
../../../../src/3rdparty/libjpeg/jmemnobs.c:73: warning: unused parameter 'min_bytes_needed'
../../../../src/3rdparty/libjpeg/jmemnobs.c:74: warning: unused parameter 'already_allocated'
../../../../src/3rdparty/libjpeg/jmemnobs.c:61: warning: unused parameter 'cinfo'
../../../../src/3rdparty/libjpeg/jmemnobs.c:61: warning: unused parameter 'sizeofobject'
../../../../src/3rdparty/libjpeg/jmemnobs.c:55: warning: unused parameter 'cinfo'
../../../../src/3rdparty/libjpeg/jmemnobs.c:41: warning: unused parameter 'cinfo'
../../../../src/3rdparty/libjpeg/jmemnobs.c:41: warning: unused parameter 'sizeofobject'
../../../../src/3rdparty/libjpeg/jmemnobs.c:35: warning: unused parameter 'cinfo'
In file included from qnoneinputcontextplugin.cpp:44:
qnoneinputcontextplugin.h:44:33: qinputcontextplugin.h: No such file or directory
In file included from qnoneinputcontextplugin.cpp:44:
qnoneinputcontextplugin.h:49: error: expected class-name before '{' token
qnoneinputcontextplugin.h:51: error: ISO C++ forbids declaration of `Q_OBJECT' with no type
qnoneinputcontextplugin.h:51: error: expected `;' before "public"
qnoneinputcontextplugin.h:56: error: ISO C++ forbids declaration of `QInputContext' with no type
qnoneinputcontextplugin.h:56: error: expected `;' before '*' token
qnoneinputcontextplugin.cpp:50: error: definition of implicitly-declared `QNoneInputContextPlugin::QNoneInputContextPlugin()'
qnoneinputcontextplugin.cpp:50: error: declaration of `QNoneInputContextPlugin::QNoneInputContextPlugin()' throws different exceptions
qnoneinputcontextplugin.h:49: error: than previous declaration `QNoneInputContextPlugin::QNoneInputContextPlugin() throw ()'
qnoneinputcontextplugin.cpp:65: error: no `QInputContext* QNoneInputContextPlugin::create(const QString&)' member function declared in class `QNoneInputContextPlugin'
qnoneinputcontextplugin.cpp:83: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp: In member function `QString QNoneInputContextPlugin::displayName(const QString&)':
qnoneinputcontextplugin.cpp:89: error: `tr' undeclared (first use this function)
qnoneinputcontextplugin.cpp:89: error: (Each undeclared identifier is reported only once for each function it appears in.)
qnoneinputcontextplugin.cpp: At global scope:
qnoneinputcontextplugin.cpp:88: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp: In member function `QString QNoneInputContextPlugin::description(const QString&)':
qnoneinputcontextplugin.cpp:94: error: `tr' undeclared (first use this function)
qnoneinputcontextplugin.cpp: At global scope:
qnoneinputcontextplugin.cpp:93: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:98: error: expected constructor, destructor, or type conversion at end of input
qnoneinputcontextplugin.cpp:98: error: expected `,' or `;' at end of input
gmake[4]: *** [.obj/release-shared-mt/qnoneinputcontextplugin.o] Error 1
gmake[3]: *** [sub-imsw-none] Error 2
gmake[2]: *** [sub-inputmethods] Error 2
gmake[1]: *** [sub-plugins] Error 2
gmake: *** [init] Error 2

42
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 13, 2005, 04:45:48 am »
Quote
read what is written in  ./configure --help

The configure script is not the usual autoconf, and you must use different options (-xplatform IIRC)

Note you can find a  source tree compiled qt with the uim patch applied here:

http://pierre.ellh.com/qt-x11-free-3.3.4-uim.tar.bz2

I didn't tried it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106938\"][{POST_SNAPBACK}][/a][/div]
sorry to bother several times
now I can understand you
Thank you!

43
Zaurus - pdaXrom / How To Complie Qt ?
« on: December 13, 2005, 01:56:13 am »
I need recompile qt  with a patch,after I patch the source ,I created armv5tel-linux-g++ directiry in mkspecs and
copy files from linux-g++ and tune  the qmake.conf compare from pdaXrom-builder-02.36_29.11.05/pdaXrom-builder/config/pdaXrom/3.3.5-armv5tel-linux-g++/qmake.conf

then I begin configure ,

./configure --host=armv5tel-cacko-linux --build=i686-linux -qt-gif  -thread

sysytem display:
--host=armv5tel-cacko-linux: invalid command-line switch
--build=i686-linux: invalid command-line switch

WARNING: /usr/X11R6/lib/libGLU.so is threaded!
The Qt OpenGL module requires Qt to be configured with -thread.

then systerm  will display the qt configure help ,can not configure any more.My cross complier can complie some applications correctly,so should not it`s fault
can someone  tell me what can I do in this situation? if something wrong with my configure?can you give me the configure details?

My systerm is full install slackware 10.0,and use the cross-sdk from

Thanks.

44
Sharp ROMs / My C860 Cannot Start Cacko1.23
« on: November 18, 2005, 05:46:17 am »
35MB,then other apps install card or other place?

45
Sharp ROMs / My C860 Cannot Start Cacko1.23
« on: November 18, 2005, 04:39:22 am »
both full version and lite version like this

Pages: 1 2 [3] 4