summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-05-11 12:48:16 +0200
committerLiang Qi <liang.qi@nokia.com>2011-05-11 12:48:16 +0200
commitfb3e4d18f892a59fc01eab9249c8cdd1d8ebe4c5 (patch)
treea36513dcebab0107f14a4839dc3ecfb0a0613c97
parent57d2f36f21bd5cb65c981d35252d03e694b73e59 (diff)
downloadqtxmlpatterns-fb3e4d18f892a59fc01eab9249c8cdd1d8ebe4c5.tar.gz
Add QTXMLPATTERNS_VERSION macro for qtxmlpatterns
Provide version info for each library. Task-number: QTMODULARIZATION-44 Reviewed-by: axis
-rw-r--r--.gitignore2
-rw-r--r--src/xmlpatterns/xmlpatterns.pro3
-rw-r--r--sync.profile1
3 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5b4d2f2..84cae18 100644
--- a/.gitignore
+++ b/.gitignore
@@ -119,6 +119,8 @@ translations/*.qm
translations/*_untranslated.ts
qrc_*.cpp
+src/xmlpatterns/qtxmlpatternsversion.h
+
# Test generated files
QObject.log
tst_*
diff --git a/src/xmlpatterns/xmlpatterns.pro b/src/xmlpatterns/xmlpatterns.pro
index 906d058..6ed3033 100644
--- a/src/xmlpatterns/xmlpatterns.pro
+++ b/src/xmlpatterns/xmlpatterns.pro
@@ -14,6 +14,9 @@ win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x61000000
unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore \
QtNetwork
include($$QT_SOURCE_TREE/src/qbase.pri)
+
+HEADERS += qtxmlpatternsversion.h
+
PRECOMPILED_HEADER = $$QT_SOURCE_TREE/src/corelib/global/qt_pch.h
include($$PWD/common.pri)
include($$PWD/acceltree/acceltree.pri)
diff --git a/sync.profile b/sync.profile
index 542e919..2a0245c 100644
--- a/sync.profile
+++ b/sync.profile
@@ -4,6 +4,7 @@
%moduleheaders = ( # restrict the module headers to those found in relative path
);
%classnames = (
+ "qtxmlpatternsversion.h" => "QtXmlPatternsVersion",
);
%mastercontent = (
"core" => "#include <QtCore/QtCore>\n",