Results 1 to 2 of 2

Thread: qt usb interface

  1. #1
    Join Date
    Jun 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default qt usb interface

    hi,
    I m new to qt Please suggest i want to make a application like switch on and off an led on usb port Please suggest the software and hardware.
    Thanking you
    Anand

  2. #2
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt usb interface

    In general first, to learning the specification USB, to understand that this is impossible.
    Second, to control the USB device must have a driver for this device. In this case, the device should be opened by CreateFile(), and control through the DeviceIoControl()
    (ie for Windows - use the Win32 API). For other platforms - the same, similar way.

    In any case, you must have a driver (either standard or Vendor-specific).

    PS: Qt this has nothing to do.

Similar Threads

  1. wlan interface
    By akon in forum Newbie
    Replies: 1
    Last Post: 30th September 2009, 12:38
  2. help in Powerdvd like interface!
    By wrproject in forum Newbie
    Replies: 1
    Last Post: 30th June 2008, 21:09
  3. C++ Interface ..???
    By joseph in forum General Programming
    Replies: 3
    Last Post: 28th May 2008, 09:27
  4. interface on plugin
    By tranfuga25s in forum Qt Programming
    Replies: 6
    Last Post: 6th March 2008, 20:56
  5. how to do interface for gdb
    By misiak in forum Qt Programming
    Replies: 2
    Last Post: 13th November 2006, 21:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.