Install libxi-dev and compile Qt with configure -xinput <...> I suppose.
But you should move this discussion to the [email protected] mailing 
list, since it is a general Qt/X11 issue, not related to Qt Creator the IDE.

Br, Eike

On 16 May 2012, at 11:59, ext Navneet Kataria wrote:

> How to get xinput2 support in Qt-for-Desktop ?
>  
> I had seen in http://doc.qt.nokia.com/4.7-snapshot/requirements-x11.html that 
> there is support for X11 Input Extensions. But how to enable/use it for 
> Desktop edition of Qt ?
>  
> I had checked that this support is enabled for harmattan version; but I want 
> these features for desktop.
>  
> Can some-body help me in this regard ?
>  
> Thanks In Advance,
> Navneet Kataria
> 
> 
> --- On Fri, 11/5/12, Navneet Kataria <[email protected]> wrote:
> 
> From: Navneet Kataria <[email protected]>
> Subject: Re: [Qt-creator] How to take inputs from two keybaords for different 
> dialog boxes
> To: [email protected]
> Cc: "Atlant Schmidt" <[email protected]>
> Date: Friday, 11 May, 2012, 4:08 PM
> 
> Hello,
>  
> I got the solution for Linux. Now how to do it using Qt ?
>  
> Actually I tried xinput as mentioned in the article :->
> https://www.linux.com/learn/tutorials/542356-weekend-project-zap-your-coworkers-minds-with-multi-pointer-x
>  
> I got two pointers for two mouse and two keyboards as master. I opened two 
> terminals and was able to type on both of them using different keyboards.
>  
> Now the problem is that How to give support of using two different keboards 
> in one Qt application.
> I can use them in two different processes without any problem, but how to use 
> them in one single process ?
> Can any-body help ?
>  
> __________________
> Thanks and Regards,
> Navneet Kataria
> 
> --- On Thu, 10/5/12, Navneet Kataria <[email protected]> wrote:
> 
> From: Navneet Kataria <[email protected]>
> Subject: RE: [Qt-creator] How to take inputs from two keybaords for different 
> dialog boxes
> To: "Atlant Schmidt" <[email protected]>
> Date: Thursday, 10 May, 2012, 4:20 PM
> 
> Ahh!!
>  
> May be, I got it !! First I have to distigish the two keyboards, then-only I 
> can proceed to the main problem (if it remains).
>  
> Thanks Atlant !
> I will get back to this thread after trying the above suggestion !
> 
> _________________
> Thanks and Regards,
> Navneet Kataria
> 
> --- On Thu, 10/5/12, Atlant Schmidt <[email protected]> wrote:
> 
> From: Atlant Schmidt <[email protected]>
> Subject: RE: [Qt-creator] How to take inputs from two keybaords for different 
> dialog boxes
> To: "'Navneet Kataria'" <[email protected]>, "[email protected]" 
> <[email protected]>
> Date: Thursday, 10 May, 2012, 4:03 PM
> 
> Navneet:
>   
>   This sounds like a Linux problem rather than a Qt problem.
> 
>   Isn’t it the Linux Keyboard Driver that’s effectively “pairing”
>   the keyboards? That is, by the time Qt gets the I/O, the
>   input from the two keyboards is already deliberately
>   indistinguishable.
> 
>   There’s probably already some Linux setup parameter
>   somewhere that can un-do this, or, as is always true, if
>   the feature isn’t already there, you can hack the Linux
>   drivers.
>   
>   This page seems to be a nice general reference:
>   
>     http://gunnarwrobel.de/wiki/Linux-and-the-keyboard.html
>   
>   This page seems to go pretty directly to your question:
>   
>     http://linuxgazette.net/124/smith.html
>   
>   Together, they may give you some ideas. Once the Linux problem
>   is solved, *THEN* it can become a Qt problem.
>   
>                                              Atlant
>   
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Navneet Kataria
> Sent: Thursday, May 10, 2012 05:52
> To: [email protected]
> Subject: [Qt-creator] How to take inputs from two keybaords for different 
> dialog boxes
>  
> Hello All,
>  
> I am using Qt from some-time now. But stuck with one requirement as explained 
> below. Can any-body help me in this regard ?
>  
> I need to connect two keyboards to one Linux machine running a Qt desktop 
> application.
>  
> When I inserted two keyboards in the system, they were working well. But the 
> problem is that they are working as one.
>  
> I am developing an application using Qt 4, which contains two text-areas in 
> two different simulatenously opened different dialog boxes. I want to use 
> different keyboards for both text-areas. I mean, I want to use Key-board-1 to 
> input text in TextArea1 and Key-board-2 to input text in TextArea2.
>  
> Is it possible ?
>  
>  
> 
> _________________
> Thanks and Regards,
> Navneet Kataria
>   
> Click here to report this email as spam.
> This e-mail and the information, including any attachments, it contains are 
> intended to be a confidential communication only to the person or entity to 
> whom it is addressed and may contain information that is privileged. If the 
> reader of this message is not the intended recipient, you are hereby notified 
> that any dissemination, distribution or copying of this communication is 
> strictly prohibited. If you have received this communication in error, please 
> immediately notify the sender and destroy the original message.
> 
> Thank you.
> 
> Please consider the environment before printing this email.
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to