Commit de8023ce authored by Wouter's avatar Wouter

Move QVariant dependency to configuration instead of templates

parent f32a4f33
......@@ -133,6 +133,7 @@ Config::Config(QObject* parent): QObject(parent)
m_headerDependencies.insert("class", "QObject");
m_headerDependencies.insert("class", "QVariantMap");
m_headerDependencies.insert("array", "QList");
m_headerDependencies.insert("array", "QVariant");
m_headerDependencies.insert("wrapper", "AbstractWrapper");
m_headerDependencies.insert("wrapper", "QVariant");
m_headerDependencies.insert("union", "QVariant");
......
......@@ -25,7 +25,6 @@
{% block includes %}
#include <QtCore/QMetaType>
#include <QtCore/QVariant>
{% with class.headerDependencies as dependencies %}{% include "includes.inc" %}{% endwith %}
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment