[Interest] tty Keyboard & Mouse Support in Qt5

laszlo.p.agocs at nokia.com laszlo.p.agocs at nokia.com
Wed Aug 29 14:42:28 CEST 2012

It would be better to fetch the latest qtbase from git instead. It is highly likely that you will encounter build failures because libudev was still a requirement in your version. This has changed about 3 months ago, now it is optional.

Nowadays we only have

contains(QT_CONFIG, evdev) {
    SUBDIRS += evdevmouse evdevtouch evdevkeyboard evdevtablet

which means the plugins will be built whenever a suitable linux/input.h is available (meaning most Linux sytems).


From: interest-bounces+laszlo.p.agocs=nokia.com at qt-project.org [mailto:interest-bounces+laszlo.p.agocs=nokia.com at qt-project.org] On Behalf Of ext ganesh.sathyanarayanan
Sent: 29 August 2012 15:32
To: Rodal Samuel (Nokia-MP/Oslo)
Cc: interest at qt-project.org
Subject: Re: [Interest] tty Keyboard & Mouse Support in Qt5

Hi Laszlo, Samuel,

Thank you both for the support.

I saw this in qtbase/src/plugins/genric/generic.pro<http://generic.pro>

contains(QT_CONFIG, evdev) {
    contains(QT_CONFIG, libudev) {
        SUBDIRS += evdevmouse evdevtouch evdevkeyboard

So I presumed that libudev is a must-have to compile evdev. From your comments, I think I can just go ahead and add evdevkeyboard and evdevmouse to SUBDIRS (libudev or not). I will update you my results.

Thanks again!


On Wed, Aug 29, 2012 at 4:39 PM, Samuel Rødal <samuel.rodal at nokia.com<mailto:samuel.rodal at nokia.com>> wrote:
On 08/29/2012 01:08 PM, ext Samuel Rødal wrote:
> Example "./myapp -plugin evdev:/dev/event0"
Sorry, that should be "./myapp -plugin evdevkeyboard:/dev/event0"

Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120829/f4cb8fe0/attachment.html>

More information about the Interest mailing list