summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-05-11 13:08:29 +0200
committerLiang Qi <liang.qi@nokia.com>2011-05-11 13:08:29 +0200
commit1d36d155e7cf4dd60c7088fe716fdd1cd0aa7d9a (patch)
tree00df9b6037489903f1de7fa9901e4fda238fb729
parent9b0d684b569e32dc9b8e13ebeeb3544d86871fff (diff)
downloadqtlocation-1d36d155e7cf4dd60c7088fe716fdd1cd0aa7d9a.tar.gz
Add QTLOCATION_VERSION macro for qtlocation
Provide version info for each library. Task-number: QTMODULARIZATION-44 Reviewed-by: axis
-rw-r--r--.gitignore2
-rw-r--r--src/location/location.pro1
-rw-r--r--sync.profile1
3 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5b4d2f24..2eb894a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -119,6 +119,8 @@ translations/*.qm
translations/*_untranslated.ts
qrc_*.cpp
+src/location/qtlocationversion.h
+
# Test generated files
QObject.log
tst_*
diff --git a/src/location/location.pro b/src/location/location.pro
index b4aec374..299e8849 100644
--- a/src/location/location.pro
+++ b/src/location/location.pro
@@ -12,6 +12,7 @@ DEFINES += QT_BUILD_LOCATION_LIB QT_MAKEDLL
include($$QT_SOURCE_TREE/src/qbase.pri)
+HEADERS += qtlocationversion.h
include(landmarks/landmarks.pri)
include(maps/maps.pri)
diff --git a/sync.profile b/sync.profile
index 1dbdaeda..892e8bd3 100644
--- a/sync.profile
+++ b/sync.profile
@@ -4,6 +4,7 @@
%moduleheaders = ( # restrict the module headers to those found in relative path
);
%classnames = (
+ "qtlocationversion.h" => "QtLocationVersion",
);
%mastercontent = (
"gui" => "#include <QtGui/QtGui>\n",