[Interest] QtCreator oddity
roland at logikalsolutions.com
Fri Apr 20 14:19:40 CEST 2018
On 04/20/2018 06:40 AM, Thiago Macieira wrote:
> On Wednesday, 18 April 2018 10:18:05 PDT Konstantin Tokarev wrote:
>> #include <libusb-1.0/libusb.h>
> DO NOT write that. The correct line for libusb is:
> #include <libusb.h>
> If that file is not in your default search path, then add it to INCLUDEPATH or
> via pkg-config.
> PKGCONFIG += libusb-1.0
The problem isn't the default search path. The problem is QtCreator
cannot handle directories with a "." in their name underneath
/usr/include. One has to force it in with
By default, everything under /usr/include should be found and, if the
directory doesn't have a . in the name it is.
Roland Hughes, President
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest