An API to simply disable gesture handling at program's startup (rather than rebuilding Qt), would be easy and just fine for me.
Philippe On Wed, 20 Jan 2010 16:41:18 +0100 Trond Kjernåsen <[email protected]> wrote: > On 01/18/2010 06:18 PM, Philippe wrote: > > I have found why all widgets are native and not alien. In fact, this is > > not all, but all children of scroll areas, and this means lots of > > widgets anyway, that loose the benfit of being alien. > > > > These line added in qwidget_win.cpp 4.6.0 causes this (in function > > QWidgetPrivate::winSetupGestures) > > > > winid = q->winId(); // enforces the native winid on the > > viewport > > > > if removed, we are back to a "normal" situation concerning alien-ness. > > We're aware of this, but haven't found a good solution to the problem > yet (the scrollarea sub-classes needs to have native window ids in order > to receive native Windows 7 gesture events). Hopefully we'll find a way > around this in an upcoming patch release. > This is a Windows 7 only problem, and if you're not using the gestures > in your application you can configure Qt with the -no-native-gestures > switch to get back to the old behavior. > This should of course have been in the 4.6.0 change log, but it seems > that it was forgotten for some reason. > > -- > Trond K. _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
