Page 1 of 1

It works only in debug mode

Posted: Sat Feb 11, 2012 4:53 pm
by Mark
Hello,

I wrote a very simple application in Qt4 follow the example hid-data. I linked the required libraries (-lhid -lsetupapi) and all works fine in debug mode. When I compile for release I always get a USBOPEN_ERR_IO when usbhidSetReport() is called.

I don't know if it is a Qt4 issue or not. Did anyone run into this problem before?