summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-08-12 09:17:58 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-08-24 10:36:27 (GMT)
commitaa442648396e1367d6236801c5e1ad36884e4a81 (patch)
tree64a2b45cb8f8d4268f7dae97a1a41bf47c1e5e15 /src/corelib/global
parentae29cdf5cd319e447ef75b11ac1247375c6c8192 (diff)
downloadQt-aa442648396e1367d6236801c5e1ad36884e4a81.zip
Qt-aa442648396e1367d6236801c5e1ad36884e4a81.tar.gz
Qt-aa442648396e1367d6236801c5e1ad36884e4a81.tar.bz2
Introduce a second compatibility build key to Qt.
Some compilers are compatible with one another. In particular, the Intel CC on Unix systems is compatible with g++ on the same system. We should be saving the ABI "name" in the build key, not the compiler name, but it's too late for that. Choose "g++-{VERSION}" as the standard ABI name and make ICC support that. Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index ea7e2e4..7ebee3d 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -508,6 +508,14 @@ void qt_core_boilerplate()
"Contact: Nokia Corporation (qt-info@nokia.com)\n"
"\n"
"Build key: " QT_BUILD_KEY "\n"
+ "Compat build key: "
+#ifdef QT_BUILD_KEY_COMPAT
+ "| " QT_BUILD_KEY_COMPAT " "
+#endif
+#ifdef QT_BUILD_KEY_COMPAT2
+ "| " QT_BUILD_KEY_COMPAT2 " "
+#endif
+ "|\n"
"Build date: %s\n"
"Installation prefix: %s\n"
"Library path: %s\n"