Browse Source

fixed phonon inclusion

QGC4.4
pixhawk 15 years ago
parent
commit
ecbf57a28a
  1. 1
      qgroundcontrol.pri
  2. 6
      src/GAudioOutput.h

1
qgroundcontrol.pri

@ -97,6 +97,7 @@ linux-g++ { @@ -97,6 +97,7 @@ linux-g++ {
DESTDIR = $$BASEDIR
}
INCLUDEPATH += /usr/include \
/usr/include/qt4/phonon
# $$BASEDIR/lib/flite/include \
# $$BASEDIR/lib/flite/lang

6
src/GAudioOutput.h

@ -40,10 +40,12 @@ This file is part of the PIXHAWK project @@ -40,10 +40,12 @@ This file is part of the PIXHAWK project
#endif
#ifdef Q_OS_LINUX
//#include <flite/flite.h>
#include <phonon>
#include <Phonon/MediaObject>
#include <Phonon/AudioOutput>
#endif
#ifdef Q_OS_WIN
#include <Phonon>
#include <Phonon/MediaObject>
#include <Phonon/AudioOutput>
#endif
/* For Snow leopard and later

Loading…
Cancel
Save