[Interest] Qt5 beta1 windows - can't get device notifications from a QWindow::winId() via RegisterDeviceNotification
Thiago Macieira
thiago.macieira at intel.com
Tue Oct 16 05:49:58 CEST 2012
On segunda-feira, 15 de outubro de 2012 20.34.22, Liam Staskawicz wrote:
> In Qt5, I have tried the approach above, and do not see any events of
> type WM_DEVICECHANGE dispatched via QWidget::winEvent().
I don't know if you noticed, but there's no QWidget::winEvent.
> Are there any known changes around this behavior between Qt4 and Qt5? Any
> possible workarounds to get me detecting devices again?
To receive native events, see
QAbstractEventDispatcher::installNativeEventFilter.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121015/f47f320f/attachment.sig>
More information about the Interest
mailing list