[Qt-interest] migrating from QtEmbedded-4.5.2 to QtEverywhere-4.6.3

Thiago Macieira thiago at kde.org
Thu Sep 2 18:43:21 CEST 2010


Em Quinta-feira 02 Setembro 2010, às 14:34:17, Brecht Ameije escreveu:
> Hi,
> 
> I'm trying to upgrade my embedded Qt version from 4.5.2 to 4.6.3
> 
> The problem:
> in v4.5 I'm using the linuxis keyboard driver. (./configure -embedded arm
> [...] -plugin-kbd-linuxis) but in v4.6, this plugin is not supported
> anymore!
> 
> I successfully compiled v4.6 with -plugin-kbd-linuxinput, but as expected,
> the keys on my embedded target won't work then.
> 
> So I'm stuck with some questions like:
> - why is the linuxis plugin not available anymore?

Because it was replaced with the LinuxInput driver. It's superseded. See:

http://qt.gitorious.org/qt/qt/commit/3f51c30f030a5517273a62bdd48dfe96c98852ee

> - Should the v4.5 plugin be compatible with the new Qt libs?

No. There's no source or binary compatibility guarantee to Qt internals.

> - is there an alternative that should work for me?

The linuxinput driver.

> - can I add the plugin myself? If so, any hints on where to start?

Take the 4.5 plugin and make it work. Maybe it will work out of the box, maybe 
you'll have to do a lot of work to make it work with 4.6.

Alternatively, find out why the new driver doesn't work for you. The new driver 
simply uses the Linux /dev/input/* device nodes, which should have the correct 
mapping. So it looks like the problem isn't in Qt, but in your device driver 
or your keyboard keys.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100902/ec79762d/attachment.bin 


More information about the Qt-interest-old mailing list