Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Qt Embedded on Dingoo Linux

Any and all A320 homebrew topics

Moderator: Moderators

Qt Embedded on Dingoo Linux

Postby MasterTutu on Tue Jun 16, 2009 12:13 pm

Hi,

I'm trying to get the Qt Embedded framework running on Dingoo Linux. Qt is a very good multi-platform framework (user interface, graphics, sound....). I compiled the Qt Embedded sourcecode using the Ingenic toolchain, but currently I do not yet succeed in running the example applications. I get the following messages in the console:
QWSServerSocket::init: Function not implemented
QWSServerSocket: unable to create socket.
QWSServerPrivate::initServer: server socket not listening: Illegal seek
Failed to bind to /tmp/qtembedded-0/QtEmbedded-0
Aborted

Did anybody else already tried to get Qt running on the Dingoo?
MasterTutu
 
Posts: 9
Joined: Tue Jun 16, 2009 12:07 pm

Re: Qt Embedded on Dingoo Linux

Postby ChaoticBob on Tue Jun 16, 2009 12:20 pm

It looks like you'll have to enable unix sockets and recompile the kernel. They're disabled in the build booboo put up as there is obviously no network device and it saves some memory, but a few other people have had similar problems with programs that use sockets locally.
ChaoticBob
 
Posts: 20
Joined: Mon May 25, 2009 3:17 am

Re: Qt Embedded on Dingoo Linux

Postby MasterTutu on Tue Jun 16, 2009 12:23 pm

Thanks for the quick answer. I'll look into that.
MasterTutu
 
Posts: 9
Joined: Tue Jun 16, 2009 12:07 pm

Re: Qt Embedded on Dingoo Linux

Postby iliyan on Tue Jun 16, 2009 3:49 pm

I've made a simple test program with Qt4 before but didn't used it since then. Is it possible to use Qt to make programs that output graphics in Dingoo? I thought that the X server have to be running to use Qt :roll: Sorry if I sound stupid - I am missing something important here.. :oops:
User avatar
iliyan
 
Posts: 63
Joined: Sun Apr 05, 2009 2:11 pm
Location: Bulgaria

Re: Qt Embedded on Dingoo Linux

Postby MasterTutu on Tue Jun 16, 2009 11:01 pm

iliyan wrote:I've made a simple test program with Qt4 before but didn't used it since then. Is it possible to use Qt to make programs that output graphics in Dingoo? I thought that the X server have to be running to use Qt :roll: Sorry if I sound stupid - I am missing something important here.. :oops:

There's a version of Qt that is aimed at mobile/embedded devices: Qt Embedded.

http://www.qtsoftware.com/products/plat ... dded-linux

Some videos of user interfaces made with Qt Embedded:
http://www.youtube.com/watch?v=cGxthS0A ... re=related
http://www.youtube.com/watch?v=NjxfEud_ ... re=related
http://www.youtube.com/watch?v=GqiiVt7E ... annel_page
http://www.youtube.com/watch?v=bv35hBALvIA
http://www.linuxdevices.com/news/NS8811342597.html

It runs without an X server and draws directly into the Linux framebuffer. A lot of mobile devices already use it and since a few months it's completely free, even for commercial applications. Qt would be ideal to make a fancy menu system for the Dingoo and to be a platform for all kinds of applications. Using a higher level toolkit such as Qt would really speed up development.
MasterTutu
 
Posts: 9
Joined: Tue Jun 16, 2009 12:07 pm

Re: Qt Embedded on Dingoo Linux

Postby batman52 on Thu Jun 18, 2009 9:14 pm

Hi,
I know that qtopia (aka qtembedded) has alreadi been ported on JZ4740, here the link with details:
http://vm-kernel.org/blog/2009/02/24/problems-i-meet-when-porting-linux-to-onda-vx747/

And here is a video:
http://www.youtube.com/watch?v=jbMxSP7_jqY

hope you can find help!
batman52
 
Posts: 47
Joined: Wed Jun 10, 2009 8:48 pm

Re: Qt Embedded on Dingoo Linux

Postby iliyan on Thu Jun 18, 2009 9:26 pm

Great, MasterTutu!
Qt was fun back then when I've tried it and it's very advanced so I am going to learn a thing or two about the embedded version.
Thank you! :P
User avatar
iliyan
 
Posts: 63
Joined: Sun Apr 05, 2009 2:11 pm
Location: Bulgaria

Re: Qt Embedded on Dingoo Linux

Postby Dark Dawn on Fri Jun 19, 2009 3:32 am

Sweet those vids look pretty cool... Think I'm going to look into qt now lol
Dark Dawn
 
Posts: 1
Joined: Thu Jun 18, 2009 8:38 pm

Re: Qt Embedded on Dingoo Linux

Postby flaviobello on Sat Jun 20, 2009 5:25 am

rhings are get better n better everyday...
ImageImage
flaviobello
 
Posts: 39
Joined: Sun May 24, 2009 9:43 pm

Re: Qt Embedded on Dingoo Linux

Postby MasterTutu on Mon Jun 29, 2009 10:48 pm

I can run the Qt example applications, but they don't seem to get any input from the Dingoo buttons. I launched the applications using Teraterm on Windows. Does anybody what might need to be done to get Qt to receive key events? By default, Qt listens to TTY for input.
MasterTutu
 
Posts: 9
Joined: Tue Jun 16, 2009 12:07 pm

Next

Return to Homebrew

Who is online

Users browsing this forum: El Quedro and 3 guests