Add QTDECLARATIVE_VERSION macro for qtdeclarative

Provide version info for each library.

Task-number: QTMODULARIZATION-44
Reviewed-by: axis
This commit is contained in:
Liang Qi 2011-05-11 13:21:07 +02:00
parent ef177c41a6
commit 14b8b7d3de
3 changed files with 5 additions and 0 deletions

2
.gitignore vendored
View File

@ -119,6 +119,8 @@ translations/*.qm
translations/*_untranslated.ts
qrc_*.cpp
src/declarative/qtdeclarativeversion.h
# Test generated files
QObject.log
tst_*

View File

@ -21,6 +21,8 @@ exists("qdeclarative_enable_gcov") {
include($$QT_SOURCE_TREE/src/qbase.pri)
HEADERS += qtdeclarativeversion.h
#INCLUDEPATH -= $$QMAKE_INCDIR_QT/$$TARGET
#DESTDIR=.

View File

@ -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",