PDA

View Full Version : Some question about Qtopia concept



picadar
15th February 2008, 04:11
Sorry, I'm new in Qtopia and QT
I want to ask some question to help me realize the concept.
1. I install QT on Linux with X11, run some program, such as tutorial program, that can work!
but could I run this program without X11, writing into framebuffer directly?
If it could, what should I do to achieve the goal?

2. Can Qtopia run on Linux?

3. Are there any examples for Qtopia? just like a hello world program in QT?
or can hello world program run on Qtopia? how to do it ?

sorry to ask some basic questions, and thank you for your reply. :)

pica.

jpn
15th February 2008, 09:36
Sorry, I'm new in Qtopia and QT
Hi, I suppose you mean Qt. ;)



1. I install QT on Linux with X11, run some program, such as tutorial program, that can work!
but could I run this program without X11, writing into framebuffer directly?
If it could, what should I do to achieve the goal?

You may use Qtopia Core for that.



2. Can Qtopia run on Linux?

Yes.



3. Are there any examples for Qtopia? just like a hello world program in QT?
or can hello world program run on Qtopia? how to do it ?

Yes, an ordinary Qt application can be built with Qtopia Core.

picadar
15th February 2008, 10:45
thanks for your reply. :)
Now I have some questions , could you anyone help me to proceed further , thanks a lot

I build Qt/X11 and Qt/Embedded ( Qtopia Core ), and I write a program that I can input something by keyboard, and it can work on Qt/X11. then, I build it on Qt/Embedded , the data in framebuffer is correct , but I can't input some data in APP, what I input is just shown on terminal.... so , do I modify my codes ??
Waht I meant is that, I use keyPressEvent( QKeyEvent * e ) to get keyboard input on Qt/X11, can it work on Qt/Embedded ? or what should I do to get the keyboard event??

thanks a lot :)

jpn
15th February 2008, 11:09
Check this thread (http://www.qtcentre.org/forum/f-qtopia-14/t-cannot-open-keyboard-permission-denied-2665.html).

Byaptia
18th February 2008, 08:31
Hi,

I think the Qtopia article on http://www.linuxdevices.com/articles/AT7319394180.html
may be helpful in this discussion.

This popular white paper is written by some engineering folks from our organization Mindfire Solutions (http://www.mindfiresolutions.com).

I hope you find it useful!

Cheers,
Byapti