mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Use "phonon/mediaobject.h"-style includes for Phonon, as the older ones don't work under Debian sid anymore.
If you know how to make this actually work everywhere, please send in a patch.
This commit is contained in:
parent
6f090bf64f
commit
eaebf218eb
|
@ -15,8 +15,16 @@
|
||||||
#include "wstring_qt.hh"
|
#include "wstring_qt.hh"
|
||||||
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
|
|
||||||
|
// Phonon headers are a mess. How to include them properly? Send patches if you
|
||||||
|
// know.
|
||||||
|
#ifdef __WIN32
|
||||||
#include <Phonon/AudioOutput>
|
#include <Phonon/AudioOutput>
|
||||||
#include <Phonon/MediaObject>
|
#include <Phonon/MediaObject>
|
||||||
|
#else
|
||||||
|
#include <phonon/audiooutput.h>
|
||||||
|
#include <phonon/mediaobject.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
using std::map;
|
using std::map;
|
||||||
using std::list;
|
using std::list;
|
||||||
|
|
Loading…
Reference in a new issue