Make sure QVariant is available before including renderdoc_replay.h

This commit is contained in:
baldurk
2017-08-18 19:37:17 +01:00
parent 981436b75f
commit 2b8b101fa5
+4 -4
View File
@@ -34,10 +34,6 @@
// or not it should be translated
#define QFormatStr(fmt) QStringLiteral(fmt)
// we depend on the internal RenderDoc API, but the bindings for that are imported entirely
#define RENDERDOC_QT_COMPAT
#include "renderdoc_replay.h"
// this is pre-declared as an opaque type as we only support converting to QWidget* via PySide
class QWidget;
@@ -59,6 +55,10 @@ class QWidget;
#endif
// we depend on the internal RenderDoc API, but the bindings for that are imported entirely
#define RENDERDOC_QT_COMPAT
#include "renderdoc_replay.h"
#include "CommonPipelineState.h"
#include "PersistantConfig.h"
#include "RemoteHost.h"