Skip to contentSkip to conversation

About Buildroot+Qt+Qemu

Buildroot lee choon gay 1 participant 2 messages Jul 9, 2014 – Jul 10, 2014

lore
Share & tools
lore
#0 lore raw

Hi.
I am beginner for the tools stated above.
I am currently using Buildroot 2014.05, Released May 31st, 2014 to build kernel linux-3.14.4 with qt-4.8.6 for arch i386/variant i686. Then execute the bzImage using Qemu.
Inside Qemu, I execute ./sliders -qws, I can see the GUI perfectly and able to type using keyboard.
The problem is I cannot control the mouse (even the mouse pointer seems moving - pointer appear at coordinate 0,0 and disappear at other coordinates). I can't do anything with the mouse, can't click widget.

I am running out of idea. I tried with vnc, directfb and etc, but still can't solve the problem, other problems show up. Any body can help me on this?

Thank you very much.

#1 lore raw

Hi.
I finally found a solution.
It is Qemu issue (my mistake in fact).
To execute Qemu to run Qt example, the command below is needed - add the "-usbdevice tablet".

qemu-system-i386 -kernel /path/to/kernel/bzImage -initrd /path/to/filesystem/rootfs.cpio -usbdevice tablet

Thanks.

--------------------------------------------
On Wed, 7/9/14, lee choon gay <[email protected]> wrote:

Subject: About Buildroot+Qt+Qemu
To: buildroot at busybox.net
Date: Wednesday, July 9, 2014, 10:11 AM

Hi.
I am beginner for the tools stated above.
I am currently using Buildroot 2014.05, Released May 31st, 2014 to build kernel linux-3.14.4 with qt-4.8.6 for arch i386/variant i686.
Then execute the bzImage using Qemu.
Inside Qemu, I execute ./sliders -qws, I can see the GUI perfectly and able to type using keyboard.
The problem is I cannot control the mouse (even the mouse pointer seems moving - pointer appear at coordinate 0,0 and disappear at other coordinates).
I can't do anything with the mouse, can't click widget.

I am running out of idea. I tried with vnc, directfb and etc, but still can't solve the problem, other problems show up.
Any body can help me on this?

Thank you very much.