Results 1 to 6 of 6

Thread: how to send commands to a usb fingerprint reader connected to my system from qt app.

  1. #1
    Join Date
    Feb 2014
    Posts
    31
    Thanks
    7
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default how to send commands to a usb fingerprint reader connected to my system from qt app.

    Hello qt Experts,

    I an a beginner in Qt. And I am developing an simple qt app. to control a usb fingerprint reader.
    My problem is, how to send a command to that particular usb port where the module is connected and how to detect the module is connected to particular usb.
    Can u please provide me some sample code for this...

    Thanks in advance...

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to send commands to a usb fingerprint reader connected to my system from qt a

    That doesn't sound related to Qt at all.

    Cheers,
    _

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to send commands to a usb fingerprint reader connected to my system from qt a


  4. #4
    Join Date
    Feb 2014
    Posts
    31
    Thanks
    7
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: how to send commands to a usb fingerprint reader connected to my system from qt a

    Thanks for the reply sir...
    i was installed the libusb library in my ubuntu...

    sudo apt-get install libusb-dev

    Now when i include it to my program like..
    #include <libusb.h>

    It doesn't finding it and giving an error like...
    mainwindow.cpp:11: error: libusb.h: No such file or directory

    How to include the library to my Qt creator.
    Thanks in advance

  5. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to send commands to a usb fingerprint reader connected to my system from qt a

    Check which directory the header got installed to.
    Then add that directory in your .pro file to the INCLUDEPATH variable.

    You probably have to do something similar for the linker.

    Or you add everything using the pkg-config mechanism: http://qt-project.org/faq/answer/doe...for_pkg-config

    Cheers,
    _

  6. The following user says thank you to anda_skoa for this useful post:

    prasad1001 (6th March 2014)

  7. #6
    Join Date
    Nov 2014
    Posts
    1
    Qt products
    PyQt3 PyQt4
    Platforms
    Symbian S60

    Default Re: how to send commands to a usb fingerprint reader connected to my system from qt a

    Well, how do you currently achieve the base visualization?
    You can try out our 70-461 exam questions and answers and latest wikipedia to get high flying success in final University of California, San Francisco and RIVERBED exams. Our selftestengine is also very CISCO

Similar Threads

  1. Replies: 3
    Last Post: 9th September 2013, 01:52
  2. Replies: 1
    Last Post: 6th March 2011, 13:44
  3. Replies: 4
    Last Post: 30th November 2010, 21:09
  4. Computer unique fingerprint
    By thru in forum Qt Programming
    Replies: 3
    Last Post: 8th July 2010, 06:29
  5. how to send printer commands using QPrinter?
    By cutie.monkey in forum Qt Programming
    Replies: 1
    Last Post: 23rd April 2010, 09:19

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.