View Single Post
Old 07-06-2009, 09:58 PM   #1
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Let's play with Qt Embedded for iLiad!

I just built QT/E 4.5.2 for iLiad and made it running on iLiad. It's Qt Embedded, not just Qt. Qt for iLiad is not a problem now, except not being able to respond to iLiad key-events. For me, I want Qt only because djvulibre and djview rely on Qt. QT/E provides more than Qt. QT/E does not need X, so theoretically, it should be more effective on iLiad. That's why I want to run QT/E on iLiad. If everything goes on, applications for Zaurus may be ported to iLiad by just re-compiling. Of course, the current contentlister and ipdf must be replaced (with what?) if X is removed from iLiad.

This is only a primitive start, and still far from working. I have lots of questions. Any advice or experience about tslib, keyboard, QT, QT/E, Zaurus should be helpful.

I built tslib downloaded from http://tslib.berlios.de/, and use this option to do configure:
Code:
./configure -opensource -nomake tools -nomake demos -nomake docs -nomake translations -qt-freetype -qt-mouse-tslib -no-qvfb -embedded arm -qt-kbd-tty -qt-kbd-usb
The attached image shows the result running a QT/E application. It's a small example bundled in QT/E package. All bundled examples are built and put in dir "examples" in the attached QT/E lilbs package. I leave them for people to try.

People who want to try can download the attached files. "QtEmbedded-4.5.2-arm.part1.rar" and "QtEmbedded-4.5.2-arm.part2.rar" are QT/E libs. qtedemo.rar is the demo program which should generate a screen just as the attached image.
To install:
1. unpack QT/E libs to MMC or CF. (I put it in MMC, so there will be a dir "QtEmbedded-4.5.2-arm" in /media/card)
2. cd /usr/local
3. mkdir Trolltech
4. cd Trolltech
5. ln -s /media/card/QtEmbedded-4.5.2-arm QtEmbedded-4.5.2-arm (you should modify "/media/card/QtEmbedded-4.5.2-arm" to fit your path if not unpacked to /media/card.)
6. unpack qtedemo.rar to anywhere and execute it from contentlister. Wait for several ten-seconds, you will see a screen just as the attached image.
7. Then you have to reset your iLiad because touch-screen is not working.
Attached Thumbnails
Click image for larger version

Name:	DSCN2204.JPG
Views:	979
Size:	811.0 KB
ID:	31772  
Attached Files
File Type: rar QtEmbedded-4.5.2-arm.part1.rar (12.40 MB, 645 views)
File Type: rar QtEmbedded-4.5.2-arm.part2.rar (10.27 MB, 642 views)
File Type: rar qtedemo.rar (28.5 KB, 643 views)

Last edited by ericshliao; 07-06-2009 at 10:29 PM.
ericshliao is offline   Reply With Quote