summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-03-30 14:56:43 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-03-30 14:56:43 (GMT)
commit39f2d825fc3ed7eca617afce56042eed7c38cdd6 (patch)
tree9a0ac4a014441c9bc6e02d975585be03951814d6 /Source/QtDialog/CMakeSetupDialog.cxx
parent3a34b35dec3b7dc9bc6f87412ed4cbe13a266129 (diff)
downloadCMake-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.cxx8
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"));