I need to use the CUPS API in Qt to detect and install printers. The problem is I can't seem to make Qt detect the cups.h header file. So far I tried (both with <> and ""):
#include <cups/cups.h>
and
#include </usr/local/include/cups/cups.h>
In the .pro file I also tried adding:
INCLUDEPATH += /usr/local/include/cups
Each time I get "cups/cups.h: no such file or directory". So can anybody provide a minimal example or a HOWTO that shows how to include and use CUPS in a Qt application.
Thanks!
PS: I'am not sure if it's relevant, but I probably should add that I cross compiled Qt for the raspberry Pi.