Fix generated forward declarations in qdbusxml.cpp
Simply use qcontainerfwd.h, instead of declaring those manually. Change-Id: I6d87bf14b60469b457e8e9335868f8cdb0303817 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
557623cc4f
commit
e07a739138
@ -61,6 +61,10 @@ template <class T> class QStack;
|
|||||||
template<class T, qsizetype Prealloc = 256> class QVarLengthArray;
|
template<class T, qsizetype Prealloc = 256> class QVarLengthArray;
|
||||||
template <class T> class QList;
|
template <class T> class QList;
|
||||||
template<typename T> using QVector = QList<T>;
|
template<typename T> using QVector = QList<T>;
|
||||||
|
class QStringList;
|
||||||
|
using QByteArrayList = QList<QByteArray>;
|
||||||
|
class QMetaType;
|
||||||
|
class QVariant;
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -71,13 +71,7 @@ static const char includeList[] =
|
|||||||
"#include <QtCore/QVariant>\n";
|
"#include <QtCore/QVariant>\n";
|
||||||
|
|
||||||
static const char forwardDeclarations[] =
|
static const char forwardDeclarations[] =
|
||||||
"QT_BEGIN_NAMESPACE\n"
|
"#include <QtCore/qcontainerfwd.h>\n";
|
||||||
"#include <QtCore/qcontainerfwd.h>\n"
|
|
||||||
"class QByteArray;\n"
|
|
||||||
"class QString;\n"
|
|
||||||
"class QStringList;\n"
|
|
||||||
"class QVariant;\n"
|
|
||||||
"QT_END_NAMESPACE\n";
|
|
||||||
|
|
||||||
static QDBusIntrospection::Interfaces readInput()
|
static QDBusIntrospection::Interfaces readInput()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user