It took quite a bit of poking around to get as far as I am. Doing a whole bunch of training at a new client site and coming home with a brain of mush doesn’t help either. Adding insult to injury it seems that 90% of the “working code” posted on Stack Exchange is non-functioning feces which won’t even compile. When you need grown up answers, don’t go to Stack Exchange. It’s a place for … Qt and USB – Pt. 7Read more
libusb
Qt and USB – Pt. 2
Today’s post will be the first of at least two posts about identifying your USB device. I started by adding the following code. out << “ProductID: ” << desc.idProduct << endl; r0_status = libusb_open(dev, &hHandle); if (r0_status != LIBUSB_SUCCESS) { out << “Error ” << r0_status << ” opening USB device. Error text: ” << libusb_error_name(r0_status) << endl; } else { unsigned char serialNumber[255] = { }; unsigned char vendorName[1024] = { }; unsigned char … Qt and USB – Pt. 2Read more
Qt and USB – Pt. 1
Recently I’ve had some discussions on the qt-interest mailing list about Qt and USB and why it is not integrated in the package. Many of the kids there aren’t old enough to shave so they don’t remember this _exact_ same journey with serial ports. Couldn’t be done in a cross platform blah blah blah. Then there were various “unofficial” Qt based serial port classes. Then we had “almost” official stuff showing up in the Qt … Qt and USB – Pt. 1Read more