diff --git a/qgroundcontrol.pri b/qgroundcontrol.pri index f24adbd9a2d..4d2098f00ff 100644 --- a/qgroundcontrol.pri +++ b/qgroundcontrol.pri @@ -97,6 +97,7 @@ linux-g++ { DESTDIR = $$BASEDIR } INCLUDEPATH += /usr/include \ + /usr/include/qt4/phonon # $$BASEDIR/lib/flite/include \ # $$BASEDIR/lib/flite/lang diff --git a/src/GAudioOutput.h b/src/GAudioOutput.h index 366af9e3395..3e94478b200 100644 --- a/src/GAudioOutput.h +++ b/src/GAudioOutput.h @@ -40,10 +40,12 @@ This file is part of the PIXHAWK project #endif #ifdef Q_OS_LINUX //#include -#include +#include +#include #endif #ifdef Q_OS_WIN -#include +#include +#include #endif /* For Snow leopard and later