diff options
author | Liang Qi <liang.qi@nokia.com> | 2011-05-11 13:21:07 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2011-05-11 13:21:07 +0200 |
commit | 14b8b7d3de3e52a36fe7ba3569f7f5a02f5a39cc (patch) | |
tree | cd35b33c99a46d241ad78d198b82a96468a448b6 | |
parent | ef177c41a614094c85fa89373c7e9075cac0da18 (diff) |
Add QTDECLARATIVE_VERSION macro for qtdeclarative
Provide version info for each library.
Task-number: QTMODULARIZATION-44
Reviewed-by: axis
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/declarative/declarative.pro | 2 | ||||
-rw-r--r-- | sync.profile | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 5b4d2f2440..021ff2a1ca 100644 --- a/.gitignore +++ b/.gitignore @@ -119,6 +119,8 @@ translations/*.qm translations/*_untranslated.ts qrc_*.cpp +src/declarative/qtdeclarativeversion.h + # Test generated files QObject.log tst_* diff --git a/src/declarative/declarative.pro b/src/declarative/declarative.pro index 4c2e380540..8c296ab034 100644 --- a/src/declarative/declarative.pro +++ b/src/declarative/declarative.pro @@ -21,6 +21,8 @@ exists("qdeclarative_enable_gcov") { include($$QT_SOURCE_TREE/src/qbase.pri) +HEADERS += qtdeclarativeversion.h + #INCLUDEPATH -= $$QMAKE_INCDIR_QT/$$TARGET #DESTDIR=. diff --git a/sync.profile b/sync.profile index 42ea13d9c3..202616df7e 100644 --- a/sync.profile +++ b/sync.profile @@ -4,6 +4,7 @@ %moduleheaders = ( # restrict the module headers to those found in relative path ); %classnames = ( + "qtdeclarativeversion.h" => "QtDeclarativeVersion", ); %mastercontent = ( "gui" => "#include <QtGui/QtGui>\n", |