From: Friedemann Kleint Date: Thu, 1 Dec 2011 13:14:43 +0000 (+0100) Subject: Windows: Fix building of XML list model plugin. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8f945119369d7e42f0c80ecc0485ce53a5ef3aa6;p=konrad%2Fqtdeclarative.git Windows: Fix building of XML list model plugin. Change-Id: Ia070f4b4fd726d201dde7aa43e2c62eacfaff40e Reviewed-by: Kent Hansen Reviewed-by: Yunqiao Yin --- diff --git a/src/imports/xmllistmodel/qdeclarativexmllistmodel_p.h b/src/imports/xmllistmodel/qdeclarativexmllistmodel_p.h index c12d3d9..dd3b217 100644 --- a/src/imports/xmllistmodel/qdeclarativexmllistmodel_p.h +++ b/src/imports/xmllistmodel/qdeclarativexmllistmodel_p.h @@ -70,7 +70,7 @@ struct QDeclarativeXmlQueryResult { QStringList keyRoleResultsCache; }; -class Q_DECLARATIVE_EXPORT QDeclarativeXmlListModel : public QListModelInterface, public QDeclarativeParserStatus +class QDeclarativeXmlListModel : public QListModelInterface, public QDeclarativeParserStatus { Q_OBJECT Q_INTERFACES(QDeclarativeParserStatus) @@ -149,7 +149,7 @@ private: Q_DISABLE_COPY(QDeclarativeXmlListModel) }; -class Q_AUTOTEST_EXPORT QDeclarativeXmlListModelRole : public QObject +class QDeclarativeXmlListModelRole : public QObject { Q_OBJECT Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged) diff --git a/src/imports/xmllistmodel/xmllistmodel.pro b/src/imports/xmllistmodel/xmllistmodel.pro index e3897e0..d8121e8 100644 --- a/src/imports/xmllistmodel/xmllistmodel.pro +++ b/src/imports/xmllistmodel/xmllistmodel.pro @@ -2,7 +2,7 @@ TARGET = qmlxmllistmodelplugin TARGETPATH = QtQuick/XmlListModel include(../qimportbase.pri) -QT+= declarative xmlpatterns declarative-private v8-private core-private +QT += network declarative xmlpatterns declarative-private v8-private core-private SOURCES += qdeclarativexmllistmodel.cpp plugin.cpp HEADERS += qdeclarativexmllistmodel_p.h