Fix compilation of python modules on windows and rename generated files

This commit is contained in:
baldurk
2017-12-15 12:48:26 +00:00
parent 1a6db595a0
commit cc442b7aee
4 changed files with 38 additions and 8 deletions
@@ -24,8 +24,17 @@
#include <Python.h>
#include "Code/QRDUtils.h"
#include "Styles/StyleData.h"
#include "PythonContext.h"
namespace StyleData
{
const ThemeDescriptor availStyles[] = {
ThemeDescriptor(QString(), QString(), QString(), []() -> QStyle * { return NULL; }),
};
const int numAvailable = sizeof(availStyles) / sizeof(ThemeDescriptor);
};
// we only support the qrenderdoc module for docs generation, so it doesn't matter that these stub
// functions aren't valid