[rkward/work/qtwebengine] rkward/rbackend: Add renderer info to session vars

Thomas Friedrichsmeier null at kde.org
Wed Apr 1 14:25:34 BST 2020


Git commit b68859251ec105ea0a5ebc9028afc69549a3c2f1 by Thomas Friedrichsmeier.
Committed on 01/04/2020 at 13:23.
Pushed by tfry into branch 'work/qtwebengine'.

Add renderer info to session vars

M  +7    -1    rkward/rbackend/rksessionvars.cpp

https://commits.kde.org/rkward/b68859251ec105ea0a5ebc9028afc69549a3c2f1

diff --git a/rkward/rbackend/rksessionvars.cpp b/rkward/rbackend/rksessionvars.cpp
index a4d0f2a1..dd48937c 100644
--- a/rkward/rbackend/rksessionvars.cpp
+++ b/rkward/rbackend/rksessionvars.cpp
@@ -2,7 +2,7 @@
                           rksessionvars  -  description
                              -------------------
     begin                : Thu Sep 08 2011
-    copyright            : (C) 2011, 2013 by Thomas Friedrichsmeier
+    copyright            : (C) 2011-2020 by Thomas Friedrichsmeier
     email                : thomas.friedrichsmeier at kdemail.net
  ***************************************************************************/
 
@@ -135,6 +135,12 @@ QStringList RKSessionVars::frontendSessionInfo () {
 #endif
 	lines.append ("KDE Frameworks version (compile time): " KCOREADDONS_VERSION_STRING);
 	lines.append (QString ("Qt version (runtime): ") + qVersion ());
+	lines.append ("Qt version (compile time): " QT_VERSION_STR);
+#ifdef NO_QT_WEBENGINE
+	lines.append ("Using QtWebKit for HTML rendering");
+#else
+	lines.append ("Using QWebEngine for HTML rendering");
+#endif
 #if defined Q_OS_WIN
 	lines.append ("Windows runtime version (refer to QSysInfo documentation to translate code into human readable form): 0x" + QString::number (QSysInfo::windowsVersion (), 16));
 #elif defined Q_OS_MACOS



More information about the rkward-tracker mailing list