View Single Post
Old 01-03-2013, 06:21 PM   #1
koenieee doesn't litterkoenieee doesn't litterkoenieee doesn't litter
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
Cool [Tutorial] - QT Apps without nickel

Sorry for my bad english

We can run QT standalone apps without using nickel.
I created this tutorial for other people to learn and make something nice for our Kobo's.

First I want to thank the following people:

- sergeyvl12
- tonyv
maybe others, tell me if you belong to this list.

First, make sure you have a fully working Kobo Development enviroment (besure to compile QT 4.8.0, not 4.6
This tutorial requires also telnet/ssh!
Look at the attachments for all the files!

Step 1
Unzip the package to /usr/local/Trolltech/QtEmbedded-4.8.0-arm/plugins/

Step 2
Create a little example QT application
(run qmake in the dir, then make)
or use my one.

Step 2a
Because my fonts weren't working (rounded squares, no text), I used the fonts sergeyvl12 provided, look at the attachments file.

Step 3
make somewhere on your Kobo a new Sh script and edit it to your needs:
#Optional: export QT_PLUGIN_PATH=/mnt/onboard/checkers/qt_plugins
export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib
export QWS_DISPLAY=Transformed:kindlefb:Rot90
#unzip fonts to /mnt/onboard
export QT_QWS_FONTDIR=/mnt/onboard/fonts
killall nickel
#run your app
/mnt/onboard/Kobo_QT_Example -qws
Step 4
Run the sh script you just saved

To exit the program tap CTRL+C, to go back to nickel you need to restart the device or run the SH script from here:

If all went well you see something like this:


Ofcourse not in color

Let me know if you got problems or tips, I hope I didn't forget something.
Attached Files
File Type: zip (37.9 KB, 201 views)
File Type: zip (12.1 KB, 190 views)
File Type: zip (4.20 MB, 171 views)

Last edited by koenieee; 01-03-2013 at 06:27 PM.
koenieee is offline   Reply With Quote