Add the static/shared split to QLibraryInfo::build()

Change-Id: I6682dcb4fdd940e4bd75c4afe4a2a4097f94960d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Thiago Macieira 2014-03-22 23:44:16 -07:00 committed by The Qt Project
parent 00e893eef7
commit 547627b212

View File

@ -287,7 +287,12 @@ QLibraryInfo::buildDate()
#else
# define DEBUG_STRING " debug"
#endif
#define QT_BUILD_STR "Qt " QT_VERSION_STR " (" ARCH_FULL DEBUG_STRING " build; by " COMPILER_STRING ")"
#ifdef QT_SHARED
# define SHARED_STRING " shared (dynamic)"
#else
# define SHARED_STRING " static"
#endif
#define QT_BUILD_STR "Qt " QT_VERSION_STR " (" ARCH_FULL SHARED_STRING DEBUG_STRING " build; by " COMPILER_STRING ")"
/*!
Returns a string describing how this version of Qt was built.