From d2ac7c4ca0e2ff304b745c347ce4eb0c4f1b5507 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 10 Jun 2022 20:59:27 -0700 Subject: [PATCH] Qt: Add Lua to report view --- src/platform/qt/ReportView.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/platform/qt/ReportView.cpp b/src/platform/qt/ReportView.cpp index edfddd21c..b38483e7f 100644 --- a/src/platform/qt/ReportView.cpp +++ b/src/platform/qt/ReportView.cpp @@ -61,6 +61,10 @@ #include #endif +#ifdef USE_LUA +#include +#endif + #ifdef USE_LZMA #include <7zVersion.h> #endif @@ -168,6 +172,11 @@ void ReportView::generateReport() { #else swReport << QString("libLZMA not linked"); #endif +#ifdef USE_LUA + swReport << QString("Lua version: %1").arg(QLatin1String(LUA_RELEASE)); +#else + swReport << QString("Lua not linked"); +#endif #ifdef USE_MINIZIP swReport << QString("minizip linked"); #else