views:

95

answers:

1

Hey all

I'm (going to be) writing an application in Qt that will run on the 3 main OSes (Windows, Linux and Mac). One of the features of this app is that it needs USB to talk to a piece of custom external hardware. Would anyone know of a cross platform USB library so porting is as easy as possible? Or am I going to be slugging it out on Windows because Microsoft's overpaid developers can't write proper APIs? (sorry for mini rant)

James

+3  A: 

Try libusb.

Supported operating systems: Linux, FreeBSD, NetBSD, OpenBSD, Darwin, MacOS X (and Windows, through the libusb-win32 project).

But you should note that it uses libusb0.sys kernel-mode driver on Windows, which is not WHQL certified and it could be a problem in 64-bit Windows 7 and Windows Server 2008 R2. Sorry, version 1.2.0.0 of libusb0.sys is digitally signed.

Kirill V. Lyadvinsky
Thank you! Just the info I needed.
JamWaffles