X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiAbout.cpp;h=fcd0653afd8740951ba19cb51a974a0593e475da;hb=8b7584846c4e1a9c87a004fab479722fee7e3013;hp=dfe6d5c27e1659d295e448cd81fbbdd80b382a7b;hpb=a87c8175f163389fcac5dbfc169980f9ae6c6d52;p=lyx.git diff --git a/src/frontends/qt4/GuiAbout.cpp b/src/frontends/qt4/GuiAbout.cpp index dfe6d5c27e..fcd0653afd 100644 --- a/src/frontends/qt4/GuiAbout.cpp +++ b/src/frontends/qt4/GuiAbout.cpp @@ -44,7 +44,7 @@ static QDate release_date() static QString credits() { QString res; - QFile file(toqstr(package().system_support().absFilename()) + "/CREDITS"); + QFile file(toqstr(package().system_support().absFileName()) + "/CREDITS"); QTextStream out(&res); if (file.isReadable()) { @@ -120,10 +120,15 @@ static QString version() QTextStream out(&res); out << toqstr(version_date); out << qt_("Library directory: "); - out << toqstr(makeDisplayPath(package().system_support().absFilename())); + out << toqstr(makeDisplayPath(package().system_support().absFileName())); out << "\n"; 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; }