aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-27 15:53:42 +0200
committerAleric Inglewood2010-10-27 15:53:42 +0200
commitd3ecf0f84bdb72cc28df16d59c736b9ffba7a57f (patch)
tree9f8b9beec9d4fff74b86310e8f52f43add9c77da /linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
parentAdd missing skin thumbnail to artwork and move them to the right directory. (diff)
downloadmeta-impy-d3ecf0f84bdb72cc28df16d59c736b9ffba7a57f.zip
meta-impy-d3ecf0f84bdb72cc28df16d59c736b9ffba7a57f.tar.gz
meta-impy-d3ecf0f84bdb72cc28df16d59c736b9ffba7a57f.tar.bz2
meta-impy-d3ecf0f84bdb72cc28df16d59c736b9ffba7a57f.tar.xz
Remove the need for qglobal.h on non-standalone.
Diffstat (limited to 'linden/indra/media_plugins/webkit/media_plugin_webkit.cpp')
-rwxr-xr-xlinden/indra/media_plugins/webkit/media_plugin_webkit.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
index d4c5deb..d01cd9e 100755
--- a/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
+++ b/linden/indra/media_plugins/webkit/media_plugin_webkit.cpp
@@ -34,7 +34,9 @@
34 */ 34 */
35 35
36#include "llqtwebkit.h" 36#include "llqtwebkit.h"
37#include <qglobal.h> // for Q_INIT_RESOURCE 37#ifdef LL_STANDALONE
38#include <qglobal.h>
39#endif
38 40
39#include "linden_common.h" 41#include "linden_common.h"
40#include "indra_constants.h" // for indra keyboard codes 42#include "indra_constants.h" // for indra keyboard codes
@@ -80,6 +82,16 @@ extern "C" {
80 } 82 }
81#endif 83#endif
82 84
85// We don't provide Qt headers, so define this here for non-standalone.
86#ifndef QT_MANGLE_NAMESPACE
87#define QT_MANGLE_NAMESPACE(name) name
88#endif
89#ifndef Q_INIT_RESOURCE
90#define Q_INIT_RESOURCE(name) \
91 do { extern int QT_MANGLE_NAMESPACE(qInitResources_ ## name) (); \
92 QT_MANGLE_NAMESPACE(qInitResources_ ## name) (); } while (0)
93#endif
94
83//////////////////////////////////////////////////////////////////////////////// 95////////////////////////////////////////////////////////////////////////////////
84// 96//
85class MediaPluginWebKit : 97class MediaPluginWebKit :