[Interest] Qt5 beta1 windows - can't get device notifications from a QWindow::winId() via RegisterDeviceNotification

1+1=2 dbzhang800 at gmail.com
Wed Oct 17 09:10:29 CEST 2012


On Tue, Oct 16, 2012 at 11:34 AM, Liam Staskawicz <lstask at gmail.com> wrote:
> Hi!
> In Qt5, I have tried the approach above, and do not see any events of type
> WM_DEVICECHANGE dispatched via QWidget::winEvent().
>

Hi,   a new member which called  bool nativeEvent(const QByteArray &
eventType, void *msg, long *result)  exists in both QWindow
and QWidget.

Debao



More information about the Interest mailing list