diff --git a/libs/libgui/libgui.pro b/libs/libgui/libgui.pro
index 44345d06d..8106c1669 100644
--- a/libs/libgui/libgui.pro
+++ b/libs/libgui/libgui.pro
@@ -348,6 +348,7 @@ unix|windows: LIBS += $$LIBCANVAS_LIB \
 INCLUDEPATH += $$LIBCANVAS_INC \
 	       $$LIBCONNECTOR_INC \
 	       $$LIBCORE_INC \
+	       $$LIBGUI_INC \
 	       $$LIBPARSERS_INC \
 	       $$LIBUTILS_INC \
 	       $$PWD/src/dbobjects \
