From ecbf57a28a4b13b5301c54b0ba704f504f20a9e1 Mon Sep 17 00:00:00 2001 From: pixhawk Date: Wed, 12 May 2010 11:13:50 +0200 Subject: [PATCH] fixed phonon inclusion --- qgroundcontrol.pri | 1 + src/GAudioOutput.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/qgroundcontrol.pri b/qgroundcontrol.pri index f24adbd9a..4d2098f00 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 366af9e33..3e94478b2 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 -- 2.22.0