Reputation: 4838
i want to handle WM_DEVICECHANGE to detect insertion of usb devices. However i also want to write the gui in qt. Question How do i access window messages when using qt on windows? Thanks
Upvotes: 4
Views: 1795
Reputation: 179819
With QWidget::winEvent.
QWidget::winEvent