01-03-2010, 11:21 AM | #1 |
Linux Developer
Posts: 5
Karma: 30
Join Date: Jan 2010
Location: Switzerland
Device: Sony PRS-505
|
Qt ported to PRS-505
Hi,
I've just ported the Qt toolkit to the PRS-505 -- including automatic screen updates etc. This should make it fairly easy to run quite a few native applications (even QtWebKit works, so displaying html isn't a problem). The source can be found in our branch of the Qt git repository: git clone git://gitorious.org/~blankpage/qt/blankpage-patches.git qt-prs505 cd qt-prs505 git checkout eink You'll still need a normal ARM crosscompiler (building it with crosstool is probably the easiest way to get one). The dynamic loader on the PRS505 seems to be somewhat buggy, linking statically is recommended. Tested Qt configuration is ./configure -embedded arm -no-glib -no-script -no-stl -no-exceptions -no-xmlpatterns -no-qt3support -opensource -confirm-license -no-nis -no-iconv -no-cups -qt-freetype -qt-libpng -qt-gif -qt-libjpeg -webkit -no-phonon -no-phonon-backend -static -release Enjoy... bero |
01-03-2010, 11:38 AM | #2 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Doesn't webkit in qt 4.6 require xmlpatterns?
|
Advert | |
|
01-03-2010, 12:54 PM | #3 |
Linux Developer
Posts: 5
Karma: 30
Join Date: Jan 2010
Location: Switzerland
Device: Sony PRS-505
|
It doesn't - but having xmlpatterns enabled adds some functionality to webkit (XSLT support).
For what I need, this functionality isn't required but bloats qt and webkit (xmlpatterns requires exceptions too) - so I decided to disable it in my build. That said, I don't see anything that would break if xmlpatterns and exceptions were enabled, I'd expect that config to just work. |
01-03-2010, 04:01 PM | #4 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
bero
Great news! Do you have a sample/test app to play with? Pretty little hello world, maybe? |
01-03-2010, 04:31 PM | #5 |
Linux Developer
Posts: 5
Karma: 30
Join Date: Jan 2010
Location: Switzerland
Device: Sony PRS-505
|
Any of the normal Qt demos will do, given I didn't touch the Qt API.
The code I actually used for initial testing comes down to Code:
#include <QApplication> #include <QLabel> #include <QTimer> int main(int argc, char **argv) { QApplication app(argc, argv); QLabel l("test", 0); l.showFullscreen(); QTimer::singleShot(10000, &app, SLOT(quit())); app.exec(); } I'm attaching some code I've written to talk to the keyboard, that makes it actually usable beyond running automated demos. When I have a bit of time I'll turn it into a proper Qt keyboard driver... |
Advert | |
|
06-18-2010, 03:05 AM | #6 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
bero
Wondering if you've stopped working on this... :S |
Tags |
c++, crosscompile, native applications, prs-505, qt toolkit |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My thoughts, PRS-300, PRS-600, PRS-505, PRS-700, Kindle 2 | zacheryjensen | Sony Reader | 78 | 12-05-2010 07:33 PM |
Buy Sony PRS-500/PRS-505/PRS-600 | doctoroop | Flea Market | 0 | 01-05-2010 06:51 AM |
PRS-700 and PRS-505 Review and Comparison from a PRS-500 owner | geekmeetsworld | Sony Reader | 5 | 03-01-2009 03:34 PM |
iLiad mrxvt ported to iLiad | scotty1024 | iRex Developer's Corner | 68 | 08-27-2008 07:52 AM |
iLiad FBReader is being ported for the Iliad! | CommanderROR | iRex Developer's Corner | 0 | 03-15-2007 05:36 PM |