I cannot configure Qt Creator for GTK + on Ubuntu. I am trying to compile this example, but I got errors related to header files:
but I fixed them by adding this to the file .pro
INCLUDEPATH += /usr/include/gtk-2.0 \
/usr/include/glib-2.0 \
/usr/lib/i386-linux-gnu/glib-2.0/include/ \
/usr/include/cairo/ \
/usr/include/pango-1.0/ \
/usr/lib/i386-linux-gnu/gtk-2.0/include/ \
/usr/include/gdk-pixbuf-2.0/ \
/usr/include/atk-1.0/
but i don't know what to add for LIBS +=
source
share