Fix compilation issues with clang, requires adding widgets to build

This commit is contained in:
Thomas Tanner
2015-11-08 23:15:55 +00:00
parent 3648690c5e
commit 86d2ce34f3
4 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -11,6 +11,7 @@
#include <utility.h>
#include <QFile>
#include <QCoreApplication>
#include <QWidget>
// sip and qt slots seems to conflict
#include <sip.h>
@@ -905,7 +906,7 @@ bool handled_exec_file(bpy::str filename, bpy::object globals = bpy::object(), b
#define TRY_PLUGIN_TYPE(type, var) do { \
bpy::extract<type ## *> extr(var); \
bpy::extract<type *> extr(var); \
if (extr.check()) { \
QObject *res = extr; \
return res; \