[Interest] QtCreator oddity

Konstantin Tokarev annulen at yandex.ru
Wed Apr 18 18:52:16 CEST 2018



18.04.2018, 19:43, "Roland Hughes" <roland at logikalsolutions.com>:
> All,
>
> KDE Neon all updates applied. QtCreator 4.4.1  Qt 5.9.3 from repos. Also installed libusb packages from repos.
>
> roland at roland-I5-HP-Compaq-8300-Elite-SFF-PC:~$ ls /usr/include/libusb-1.0/
>
> libusb.h
>
> When typing in the editor and compiling, libusb.h is not found. Other headers from other directories in /usr/include are found, but not libusb.h. If I force QtCreator to look at it via
>
> INCLUDEPATH +=/usr/include/libusb-1.0
>
> in the .pro file, all is well. I assume there is a bug when it comes to directories with "." in the name. Just passing this along.

This is expected behavior. Unlike /usr/include, /usr/include/libusb-1.0 is not in default search path of compiler, so you have to add it explicitly

>
> -- Roland Hughes, President Logikal Solutions (630)-205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog http://lesedi.us/ http://onedollarcontentstore.com
> ,
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


-- 
Regards,
Konstantin



More information about the Interest mailing list