mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
Bug 587715 - Include Qt headers before anything else because of conflicts with X and mozalloc. r=bustage fix
This commit is contained in:
parent
4606a9bb94
commit
f1f5bf227b
@ -5284,7 +5284,7 @@ then
|
||||
|
||||
if test -z "$QTDIR"; then
|
||||
PKG_CHECK_MODULES(MOZ_QT, QtGui QtNetwork QtCore QtOpenGL)
|
||||
AC_CHECK_PROGS(HOST_MOC, moc, "")
|
||||
AC_CHECK_PROGS(HOST_MOC, $MOC moc, "")
|
||||
else
|
||||
MOZ_QT_LIBS="-L$QTDIR/lib/ -lQtGui -lQtNetwork -lQtCore -lQtDBus -lQtXml -lQtOpenGL"
|
||||
|
||||
|
@ -46,6 +46,14 @@
|
||||
|
||||
/* rendering objects for replaced elements implemented by a plugin */
|
||||
|
||||
#ifdef MOZ_WIDGET_QT
|
||||
#include <QWidget>
|
||||
#include <QKeyEvent>
|
||||
#ifdef MOZ_X11
|
||||
#include <QX11Info>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_IPC
|
||||
#include "mozilla/plugins/PluginMessageUtils.h"
|
||||
#endif
|
||||
@ -60,14 +68,6 @@ enum { XKeyPress = KeyPress };
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WIDGET_QT
|
||||
#include <QWidget>
|
||||
#include <QKeyEvent>
|
||||
#ifdef MOZ_X11
|
||||
#include <QX11Info>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "nscore.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsPresContext.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user