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
This commit is contained in:
baldurk
2017-04-20 11:53:52 +01:00
parent e3cbc55663
commit 338017ce9a
+5
View File
@@ -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