I want to process WM_DEVICECHANGE to detect the installation of USB devices. However, I also want to write gui in qt .QuestionHow can I access window messages when using qt on Windows?Thanks
With QWidget::winEvent .
QWidget::winEvent