Author Topic: Qt on Dingux  (Read 6545 times)

pbouda

  • Guest
Qt on Dingux
« on: April 25, 2010, 11:11:47 am »
I managed to compile Qt Embedded for Dingux. Maybe some of you want to do some cross-plattform game programming. :-) I also adapted one of the demo applications (Asteroids) for the Dingoo, you can download binaries and source code here:

http://www.peterbouda.de/downloads/dinguxqt.html

Or just watch the cool video. I really, really like Qt.

Peter

zear

  • * Moderator
  • Posts: 2381
Re: Qt on Dingux
« Reply #1 on: April 25, 2010, 01:26:38 pm »
gmenu2x users need to launch it via this sh script:
Code: [Select]
#!/bin/sh
LD_LIBRARY_PATH=/usr/local/lib/ QWS_KEYBOARD=USB:/dev/event0 ./portedasteroids -qws

xdpirate

  • * Former Staff
  • Posts: 490
Re: Qt on Dingux
« Reply #2 on: April 25, 2010, 03:35:09 pm »
Great job! + karma

Ikonz101

  • Guest
Re: Qt on Dingux
« Reply #3 on: April 25, 2010, 04:36:48 pm »
What exactly is Qt Embedded?

Thanks
Ikonz101

caculo

  • Guest
Re: Qt on Dingux
« Reply #4 on: April 25, 2010, 08:21:33 pm »
What exactly is Qt Embedded?

Thanks
Ikonz101
"Qt is the leading application and UI framework for devices powered by embedded Linux. You can use Qt to create highly memory efficient devices and applications that have completely unique user experiences. Qt runs anywhere Linux runs. Qt?s intuitive API means fewer lines of code and higher level functionality in less time." ( http://qt.nokia.com/products/platform/qt-for-embedded-linux )

santino

  • Guest
Re: Qt on Dingux
« Reply #5 on: April 26, 2010, 01:46:31 pm »
Looks very smooth, nice one! Is this qt compatible with standard qt? So we now can port qt games?

pbouda

  • Guest
Re: Qt on Dingux
« Reply #6 on: April 26, 2010, 03:24:44 pm »
Looks very smooth, nice one! Is this qt compatible with standard qt? So we now can port qt games?

Yes, Qt Embedded is compatible with standard Qt. I just don't know how far multimedia is supported (sound? formats?). I would just try to compile Qt games and see how they work on the device. But I don't know too many good Qt games...

onthebridge

  • Posts: 110
Re: Qt on Dingux
« Reply #7 on: April 26, 2010, 05:05:58 pm »
Hi, http://qt-apps.org/ you can find a lot of qt software and their sources.

Although i am not a developer myself, i think this is a great opportunity to have great apps in our Dingoos and to plug holes in its catalogue.

For example,http://kde-apps.org/content/show.php?content=19509 could be great ...


chameleon

  • Posts: 4
Re: Qt on Dingux
« Reply #8 on: April 27, 2010, 10:42:34 am »
Yes, very interesting. This is what caught my eye: http://qt-apps.org/content/show.php/SMPlayer?content=61041

KillerStefan

  • Guest
Re: Qt on Dingux
« Reply #9 on: April 29, 2010, 12:49:42 pm »
Wow, this is interesting indeed!
Thank you sir!

Cycron

  • Guest
Re: Qt on Dingux
« Reply #10 on: September 06, 2010, 09:05:43 pm »
so does this mean that Qt apps can run on dingux?

javum

  • Posts: 7
Re: Qt on Dingux
« Reply #11 on: December 18, 2010, 05:19:14 pm »
Here are 2 variants of patch for fixing the error by crosscompiling of webkit and javascriptcore.
http://git.buildroot.net/buildroot/tree/package/qt
http://repository.timesys.com/buildsources/q/qt-embedded-linux/qt-embedded-linux-4.6.1/qt-embedded-linux-4.6.1-javascript-uclibc.patch
 
The simple program
Code: [Select]
#include <QtGui>
#include <QtWebKit>
 
int main(int argc, char * argv[])
{
QApplication app(argc, argv);
 
QWebView view;
view.load(QUrl("file://usr/local/apps/test/test.html"));
view.show();
 
return app.exec();
}
works. HTML5 and JS are also supported.

https://sites.google.com/site/jsforblog/gordon/html5_2.swf
https://sites.google.com/site/jsforblog/gordon/html5_3.swf
https://sites.google.com/site/jsforblog/gordon/html5_4.swf
More complex scripts works little buggy and slow.
https://sites.google.com/site/jsforblog/gordon/html5_1.swf
 
It's a pity that there is no Flash NPAPI plugin  for our platform. I tried Gordon - An open source Flash? runtime written in pure JavaScript with SVG, but it exits with segfault  :'( (on desktop PC it runs fine)

You can get precompiled Qt Embedded 4.7.1 libs (put it to /local/lib on your SD)
http://www.multiupload.com/0V7F3MS2DD

And test program to open html (you need mouse driver also)
http://www.multiupload.com/VPZCI2QKD6

 

Post a new topic