cht電腦資訊gcin
adm Find login register

Can gcin-2.6.8 support QT Embedded 4.7.1 (ARM) on Linux frame buffer?

guest
1subject: Can gcin-2.6.8 support QT Embedded 4.7.1 (ARM) on Linux frame buffer?Promote 0 Bookmark 02011-12-29quote  

Can gcin-2.6.8 support QT Embedded 4.7.1 (ARM) on Linux frame buffer?

When compile, I got the error message:

In file included from im-gcin-qt.cpp:9:
gcin-imcontext-qt.h:17: error: 'XEvent' has not been declared
make: *** [im-gcin-qt.o] Error 1

I don't use X for QT.

Thanks!

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02011-12-29quote  

gcin has gtk win32/IME port, so I think it's not too diffcult to port it to Linux frame buffer.

You must replace the function

bool x11FilterEvent (QWidget *widget, XEvent *event);

with a similar function in Qt/framebuffer.

Please refer to the examples of QT IM module in QT/framebuffer. I don't have any experience in QT/framebuffer.

 

guest
3subject: Promote 0 Bookmark 02011-12-29quote  

Thanks for the feedback.

But since I am new for both QT and gcin, I have trouble to modify it now.

From QT example (/QT/qt-everywhere-opensource-src-4.7.1/src/plugins/inputmethods/imsw-multi),

the function x11FilterEvent() is disable and use the function filterEvent(), but I have no idea how to

implement this function.

Could you provide more concrete example so that I can modify the code? Thanks!

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
4subject: Promote 0 Bookmark 02011-12-29quote  

guest
Could you provide more concrete example so that I can modify the code? Thanks!

Please ask the QT team if such examples exist on QT/framebuffer. 

cht電腦資訊gcin
adm Find login register
views:9326