Add Qt version info to the About dialog in the DEVEL_VERSION.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33715 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-11 18:31:01 +00:00
parent 7c8510f02e
commit c5e0708f88

View File

@ -124,6 +124,11 @@ static QString version()
out << "\n"; out << "\n";
out << qt_("User directory: "); out << qt_("User directory: ");
out << toqstr(makeDisplayPath(package().user_support().absFilename())); out << toqstr(makeDisplayPath(package().user_support().absFilename()));
#ifdef DEVEL_VERSION
out << "\n";
out << "Qt Version (run-time): " << toqstr(qVersion()) << "\n";
out << "Qt Version (compile-time): " << QT_VERSION_STR << "\n";
#endif
return res; return res;
} }