From 14b8b7d3de3e52a36fe7ba3569f7f5a02f5a39cc Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 11 May 2011 13:21:07 +0200 Subject: Add QTDECLARATIVE_VERSION macro for qtdeclarative Provide version info for each library. Task-number: QTMODULARIZATION-44 Reviewed-by: axis --- .gitignore | 2 ++ src/declarative/declarative.pro | 2 ++ sync.profile | 1 + 3 files changed, 5 insertions(+) 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 \n", -- cgit v1.2.3