Prevent having Status undefined in xlib platform plug-in.
Commit 4b75ceea08
changed
qcoreapplication_p.h to include qsettings.h, which undefines Status.
This breaks the xlib platform plug-in (and its includes).
This commit is contained in:
parent
48b7c870ec
commit
20594a6d5b
@ -46,6 +46,9 @@
|
|||||||
#include <QtCore/QDataStream>
|
#include <QtCore/QDataStream>
|
||||||
#include <QtCore/QMetaType>
|
#include <QtCore/QMetaType>
|
||||||
#include <QtCore/QVariant>
|
#include <QtCore/QVariant>
|
||||||
|
// qcoreapplication_p.h includes qsettings.h which undefines Status
|
||||||
|
// therefore it is included here before the X stuff.
|
||||||
|
#include <QtCore/private/qcoreapplication_p.h>
|
||||||
|
|
||||||
#if defined(_XLIB_H_) // crude hack, but...
|
#if defined(_XLIB_H_) // crude hack, but...
|
||||||
#error "cannot include <X11/Xlib.h> before this file"
|
#error "cannot include <X11/Xlib.h> before this file"
|
||||||
|
Loading…
Reference in New Issue
Block a user