building non-x11 qtmoko apps

Guilhem Bonnefille guilhem.bonnefille at
Sun Dec 25 21:28:34 CET 2011

2011/12/25 Radek Polak <psonek2 at>:
> On Saturday 24 December 2011 22:54:06 Tiago Bortoletto Vaz wrote:
>> Hi, is it possible to build apps for qtmoko without qtopia sdk? I've doing
>> a cleanup in debian packages for qtmoko and got some built using qmake and
>> qt dev libs in a armel debian system. The issue is that it only runs under
>> qx in qtmoko :) How to get them supporting fb?
> I think the problem is that Qt-X11 is not binary compatible with Qt-embedded.
> They are source code compatible.
> So you can have same sources but you need to compile twice against Qt-X11 and
> Qt-embedded. This is probably because X11/embedded classes have different
> members and e.g. sizeof(QWidget) is different on each platform - but maybe i am
> wrong - i have not checked it.
> If they were binary compatible you could run all Qt apps in debian (like
> navit, FBReader) without recompiling.

I read that recent release of Qt adds an abstraction layer for
windowing system. I not read anything more, but I hope this will solve
such an issue. I think it could be really interesting to have all many
applications built in emdebian (for example) and simply install the
right backend (X11, FB...) to allow installation of any application
without rebuild.

But I fear tthis technology would not be available for qtMoko due to
certainly HUGE impact in code.

-=- JID: guyou at MSN: guilhem_bonnefille at
-=- mailto:guilhem.bonnefille at

More information about the community mailing list