It works only in debug mode

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Mark
Posts: 4
Joined: Fri Jan 20, 2012 3:08 pm

It works only in debug mode

Post by Mark » Sat Feb 11, 2012 4:53 pm

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?

Post Reply