diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2009-03-30 14:56:43 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2009-03-30 14:56:43 (GMT) |
commit | 39f2d825fc3ed7eca617afce56042eed7c38cdd6 (patch) | |
tree | 9a0ac4a014441c9bc6e02d975585be03951814d6 /Source/QtDialog/CMakeSetupDialog.cxx | |
parent | 3a34b35dec3b7dc9bc6f87412ed4cbe13a266129 (diff) | |
download | CMake-39f2d825fc3ed7eca617afce56042eed7c38cdd6.zip CMake-39f2d825fc3ed7eca617afce56042eed7c38cdd6.tar.gz CMake-39f2d825fc3ed7eca617afce56042eed7c38cdd6.tar.bz2 |
ENH: Add version info to about dialog, including Qt version.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx index c4047ab..36d99b7 100644 --- a/Source/QtDialog/CMakeSetupDialog.cxx +++ b/Source/QtDialog/CMakeSetupDialog.cxx @@ -37,6 +37,7 @@ #include "QCMakeCacheView.h" #include "AddCacheEntry.h" #include "FirstConfigure.h" +#include "cmVersion.h" QCMakeThread::QCMakeThread(QObject* p) : QThread(p), CMakeInstance(NULL) @@ -673,7 +674,12 @@ void CMakeSetupDialog::doDeleteCache() void CMakeSetupDialog::doAbout() { - QString msg = "CMake\nwww.cmake.org"; + QString msg = "CMake %1\n" + "Using Qt %2\n" + "www.cmake.org"; + + msg = msg.arg(cmVersion::GetCMakeVersion()); + msg = msg.arg(qVersion()); QDialog dialog; dialog.setWindowTitle(tr("About")); |