Windows: Fix building of XML list model plugin.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 1 Dec 2011 13:14:43 +0000 (14:14 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 14:05:14 +0000 (15:05 +0100)
Change-Id: Ia070f4b4fd726d201dde7aa43e2c62eacfaff40e
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>

src/imports/xmllistmodel/qdeclarativexmllistmodel_p.h
src/imports/xmllistmodel/xmllistmodel.pro

index c12d3d9..dd3b217 100644 (file)
@@ -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)
index e3897e0..d8121e8 100644 (file)
@@ -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