From 3c150e747288624ac6371539d4f0bfd1bfb9e875 Mon Sep 17 00:00:00 2001 From: "J.D. Purcell" Date: Sat, 17 Feb 2024 18:25:26 -0500 Subject: [PATCH] Debug --- src/qvaboutdialog.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/qvaboutdialog.cpp b/src/qvaboutdialog.cpp index aef7bb6e..47bbf3e7 100644 --- a/src/qvaboutdialog.cpp +++ b/src/qvaboutdialog.cpp @@ -53,12 +53,19 @@ QVAboutDialog::QVAboutDialog(QWidget *parent) : //set infolabel2 font, text, and properties QFont font4 = QFont("Lato", 8 + modifier); font4.setStyleName("Regular"); - const QString labelText2 = tr("Built with Qt %1 (%2)
" +#if QT_VERSION >= QT_VERSION_CHECK(6, 1, 0) + QString a = QSslSocket::availableBackends().join(","); + QString b = QSslSocket::activeBackend(); +#else + QString a = ""; + QString b = ""; +#endif + const QString labelText2 = tr("Built with Qt %1 (%2) %3 %4
" "Licensed under the GNU GPLv3
" R"(Derivative of official qView: Website, GitHub
)" "Icon glyph created by Guilhem from the Noun Project
" "Copyright © %3 jurplel, jdpurcell, and qView contributors") - .arg(QT_VERSION_STR, QSysInfo::buildCpuArchitecture(), "2018-2024"); + .arg(QT_VERSION_STR, QSysInfo::buildCpuArchitecture(), a, b, "2018-2024"); ui->infoLabel2->setFont(font4); ui->infoLabel2->setText(labelText2);