mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 13:15:57 +00:00
Make sure QVariant is available before including renderdoc_replay.h
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user