From 338017ce9a44c26060e4209b40a9a2affd421228 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 20 Apr 2017 11:53:52 +0100 Subject: [PATCH] Add a va_stdafx.h #defining QT_NAMESPACE to empty * VAX can get confused by the QT_NAMESPACE macro, and if it thinks Qt objects are inside a QT_NAMESPACE namespace then various things will break but most commonly the ui objects inside that namespace won't be picked up properly. * See https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=12573 --- qrenderdoc/va_stdafx.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 qrenderdoc/va_stdafx.h diff --git a/qrenderdoc/va_stdafx.h b/qrenderdoc/va_stdafx.h new file mode 100644 index 000000000..cc7a1097a --- /dev/null +++ b/qrenderdoc/va_stdafx.h @@ -0,0 +1,5 @@ +// This macro confuses Visual Assist a lot which can lead to a lot of different problems, +// including refactoring adding QT_NAMESPACE onto classes like QString, and Ui classes +// not being found properly. + +#define QT_NAMESPACE