summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-05-11 12:49:44 +0200
committerLiang Qi <liang.qi@nokia.com>2011-05-11 12:49:44 +0200
commit21d0bc842048e40ee0a101d047667ba46ee44e99 (patch)
treedc154357e08bcab9aecc6c1d7b681c2c7cd60d3a
parent2ae89a6c9dc48cdff81d80267a0815cba0dfd575 (diff)
downloadqtscript-21d0bc842048e40ee0a101d047667ba46ee44e99.tar.gz
Add QTSCRIPT_VERSION and QTSCRIPTTOOLS_VERSION macros for qtscript module
Provide version info for each library. Task-number: QTMODULARIZATION-44 Reviewed-by: axis
-rw-r--r--.gitignore3
-rw-r--r--src/script/script.pro2
-rw-r--r--src/scripttools/scripttools.pro2
-rw-r--r--sync.profile2
4 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5b4d2f2..79b4f32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -119,6 +119,9 @@ translations/*.qm
translations/*_untranslated.ts
qrc_*.cpp
+src/script/qtscriptversion.h
+src/scripttools/qtscripttoolsversion.h
+
# Test generated files
QObject.log
tst_*
diff --git a/src/script/script.pro b/src/script/script.pro
index fdf96fe..95a9b79 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -17,6 +17,8 @@ unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
include($$QT_SOURCE_TREE/src/qbase.pri)
+HEADERS += qtscriptversion.h
+
CONFIG += building-libs
WEBKITDIR = $$PWD/../3rdparty/javascriptcore
diff --git a/src/scripttools/scripttools.pro b/src/scripttools/scripttools.pro
index 93d1bd8..8e12c5d 100644
--- a/src/scripttools/scripttools.pro
+++ b/src/scripttools/scripttools.pro
@@ -15,6 +15,8 @@ unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtScript
include($$QT_SOURCE_TREE/src/qbase.pri)
+HEADERS += qtscripttoolsversion.h
+
include(debugging/debugging.pri)
symbian:TARGET.UID3=0x2001E625
diff --git a/sync.profile b/sync.profile
index dda58af..70339db 100644
--- a/sync.profile
+++ b/sync.profile
@@ -5,6 +5,8 @@
%moduleheaders = ( # restrict the module headers to those found in relative path
);
%classnames = (
+ "qtscriptversion.h" => "QtScriptVersion",
+ "qtscripttoolsversion.h" => "QtScriptToolsVersion",
);
%mastercontent = (
"core" => "#include <QtCore/QtCore>\n",