Quote:
Originally Posted by wl.
i saw the qt4 libs in some apps for KT, where to find info about compiling qt4 for KT, compiling qt4 apps, maybe on-device debuging?
sorry, i am newbie in kindle development, and no useful links in google. Point me please in right direction
|
The hard part is the eink support. Unless you call system("eips ''") to do the eink updates, it is a bit difficult to support all the kindle models with one program (especially if you want region updates to limit your updates to a small area like a character cell). Most qt examples here used the /proc update method, but that is not available for the K5(touch), and even 5.0.x and 5.1.0 are not compatible with each other, requiring separate versions of your program that only work on 5.1.0 or on everything EXCEPT 5.1.0 (unless you get a little more complex as is done in my gmplay-1.5 program, and even that cannot yet do region updates on 5.1.0). It is easier at this time to just call eips.
Even more difficult is keyboard input support (ony one key -- the HOME key). You need an onscreen keyboard. So, it has not been done already (AFAIK) because it is NOT easy or simple, and will require some development and testing to get working reliably on all kindle models (unless you WANT to maintain different versions for different kindle models).
Question: Which K5 (KT) apps did you see that use Qt libs? I would like to check them out myself. Up until now, I was not aware that there were any. I suspect they are restricted to a specific firmware version, OR they use an eips call for display updates...
EDIT: For compiling small programs, you can use tcc on the kindle. For larger ones, either use a cross-compiler toolkit (I use CodeSourcery), or install the gcc build tools in an optware loop mount on the kindle. Beware that there are severe resource limitations if you forget to stop the framework before doing a build (or even a simple wget) on the K5. Another option is to do your builds in a VM that runs arm code, but that is much slower than cross-compiling on the host PC. You can download CodeSourcery for linux or for windows. They both work fine (and much easier in windows if you configure the CodeBocks IDE to use CodeSourcery for arm projects -- and CodeBlocks also has a linux version).