Results 1 to 2 of 2

Thread: linux, libusb, and usb.h include issue

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    Paris, France
    Posts
    34
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default linux, libusb, and usb.h include issue

    Hi all,

    This may be a simple thing, but I've been stuck for hours now with an issue with libusb. Other threads on the subject don't seem to help

    The .cpp file has the include directive "#include <usb.h>", which generates an error message at compilation time usb.h: No such file or directory

    However :
    • libusb-1_0-devel is installed
    • the .pro file includes LIBS += -lusb


    Is there something obvious I am missing ?

    Thanks for any insight

    Andre

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: linux, libusb, and usb.h include issue

    Is there something obvious I am missing ?
    Include search path perhaps?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 6
    Last Post: 7th November 2012, 05:13
  2. Regarding Combo Box max Visible Itms issue on Linux
    By ashishsaryar in forum Qt Programming
    Replies: 2
    Last Post: 31st May 2010, 14:46
  3. Qt Creator QtCreator Linux icon issue
    By Talei in forum Qt Tools
    Replies: 0
    Last Post: 13th May 2010, 04:57
  4. Replies: 7
    Last Post: 3rd December 2009, 16:23
  5. Include issue
    By Platoon in forum Newbie
    Replies: 2
    Last Post: 6th October 2009, 10:28

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.