From f8db9c4ecb1da267324697e3a4cf833ea04ccc7e Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 14 Jul 2021 19:51:32 +0200 Subject: [PATCH] Add libQuotient as KAboutComponent With frameworks 5.85, this will make it show up in the aboutpage --- CMakeLists.txt | 2 +- src/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f2973a763..9841fd4ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.1) project(NeoChat) -set(KF5_MIN_VERSION "5.82.0") +set(KF5_MIN_VERSION "5.84.0") set(QT_MIN_VERSION "5.15.0") find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) diff --git a/src/main.cpp b/src/main.cpp index c137ba50c..466a2c4ac 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -111,6 +111,8 @@ int main(int argc, char *argv[]) about.addAuthor(i18n("Tobias Fella"), QString(), QStringLiteral("fella@posteo.de")); about.setOrganizationDomain("kde.org"); + about.addComponent(QStringLiteral("libQuotient"), i18n("A Qt5 library to write cross-platform clients for Matrix"), QString(), QStringLiteral("https://github.com/quotient-im/libquotient"), KAboutLicense::LGPL_V2_1); + KAboutData::setApplicationData(about); QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("org.kde.neochat")));