ENH: Add version info to about dialog, including Qt version.

This commit is contained in:
Clinton Stimpson 2009-03-30 10:56:43 -04:00
parent 3a34b35dec
commit 39f2d825fc
1 changed files with 7 additions and 1 deletions

View File

@ -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"));