diff --git a/src/xmlpatterns/api/api.pri b/src/xmlpatterns/api/api.pri index a0adf75e51e14c63cfcc490d6fd66497e688e382..82d1c03fd9c88e2d5bcee0eddb469967a19bcf1b 100644 --- a/src/xmlpatterns/api/api.pri +++ b/src/xmlpatterns/api/api.pri @@ -13,6 +13,7 @@ HEADERS += $$PWD/qabstractxmlforwarditerator_p.h \ $$PWD/qresourcedelegator_p.h \ $$PWD/qsimplexmlnodemodel.h \ $$PWD/qsourcelocation.h \ + $$PWD/qtxmlpatternsglobal.h \ $$PWD/quriloader_p.h \ $$PWD/qvariableloader_p.h \ $$PWD/qxmlformatter.h \ diff --git a/src/xmlpatterns/api/qabstracturiresolver.h b/src/xmlpatterns/api/qabstracturiresolver.h index b9955372be031bdf57d1dce8bbd683859a704184..16b7a9e53e5db5b9362ed8f52e71805b01d368ba 100644 --- a/src/xmlpatterns/api/qabstracturiresolver.h +++ b/src/xmlpatterns/api/qabstracturiresolver.h @@ -43,6 +43,7 @@ #define QABSTRACTURIRESOLVER_H #include <QtCore/QObject> +#include <QtXmlPatterns/qtxmlpatternsglobal.h> QT_BEGIN_HEADER QT_BEGIN_NAMESPACE diff --git a/src/xmlpatterns/api/qsourcelocation.h b/src/xmlpatterns/api/qsourcelocation.h index 7411f19ca33992d9259dc7915d167bf7fdc5c648..2fc6d81ca638f8dd2fbc09b874be7df96c2139a8 100644 --- a/src/xmlpatterns/api/qsourcelocation.h +++ b/src/xmlpatterns/api/qsourcelocation.h @@ -44,6 +44,7 @@ #include <QtCore/QMetaType> #include <QtCore/QUrl> +#include <QtXmlPatterns/qtxmlpatternsglobal.h> QT_BEGIN_HEADER diff --git a/src/xmlpatterns/api/qtxmlpatternsglobal.h b/src/xmlpatterns/api/qtxmlpatternsglobal.h new file mode 100644 index 0000000000000000000000000000000000000000..76bbc35669636a5ec089cfaaac8ded7144b5052e --- /dev/null +++ b/src/xmlpatterns/api/qtxmlpatternsglobal.h @@ -0,0 +1,67 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Intel Corporation. +** Contact: http://www.qt-project.org/ +** +** This file is part of the QtCore module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** GNU Lesser General Public License Usage +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this +** file. Please review the following information to ensure the GNU Lesser +** General Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU General +** Public License version 3.0 as published by the Free Software Foundation +** and appearing in the file LICENSE.GPL included in the packaging of this +** file. Please review the following information to ensure the GNU General +** Public License version 3.0 requirements will be met: +** http://www.gnu.org/copyleft/gpl.html. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms and +** conditions contained in a signed written agreement between you and Nokia. +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef QTXMLPATTERNSGLOBAL_H +#define QTXMLPATTERNSGLOBAL_H + +#include <QtCore/qglobal.h> + +QT_BEGIN_HEADER + +QT_BEGIN_NAMESPACE + +#ifndef Q_XMLPATTERNS_EXPORT +# ifndef QT_STATIC +# if defined(QT_BUILD_XMLPATTERNS_LIB) +# define Q_XMLPATTERNS_EXPORT Q_DECL_EXPORT +# else +# define Q_XMLPATTERNS_EXPORT Q_DECL_IMPORT +# endif +# else +# define Q_XMLPATTERNS_EXPORT +# endif +#endif + +QT_END_NAMESPACE + +QT_END_HEADER + +#endif diff --git a/src/xmlpatterns/api/qxmlname.h b/src/xmlpatterns/api/qxmlname.h index 0e798244c0f14ae35a2e62d7919779159599b9c8..ceb79d1c878a7b09c44a5375ee5c6a9425e3a197 100644 --- a/src/xmlpatterns/api/qxmlname.h +++ b/src/xmlpatterns/api/qxmlname.h @@ -44,6 +44,7 @@ #include <QtCore/QString> #include <QtCore/QMetaType> +#include <QtXmlPatterns/qtxmlpatternsglobal.h> QT_BEGIN_HEADER diff --git a/src/xmlpatterns/api/qxmlnamepool.h b/src/xmlpatterns/api/qxmlnamepool.h index a504c32b5b89f310c33aea029c04d3f4729fbd75..dc71c27d626a554acb6c7d81e816f8715a6670db 100644 --- a/src/xmlpatterns/api/qxmlnamepool.h +++ b/src/xmlpatterns/api/qxmlnamepool.h @@ -44,6 +44,7 @@ #include <QtCore/QSharedData> #include <QtCore/QString> +#include <QtXmlPatterns/qtxmlpatternsglobal.h> QT_BEGIN_HEADER diff --git a/src/xmlpatterns/api/qxmlresultitems.h b/src/xmlpatterns/api/qxmlresultitems.h index 98ab432d1e40a98f0759c605c57eaa5052df0a3b..4b192cd8a67bc056137618ada70f0921d4d08f70 100644 --- a/src/xmlpatterns/api/qxmlresultitems.h +++ b/src/xmlpatterns/api/qxmlresultitems.h @@ -44,6 +44,7 @@ #include <QtCore/QString> #include <QtCore/QScopedPointer> +#include <QtXmlPatterns/qtxmlpatternsglobal.h> QT_BEGIN_HEADER QT_BEGIN_NAMESPACE