Add libQuotient as KAboutComponent

With frameworks 5.85, this will make it show up in the aboutpage
This commit is contained in:
Tobias Fella
2021-07-14 19:51:32 +02:00
parent 9567c7ecf7
commit f8db9c4ecb
2 changed files with 3 additions and 1 deletions

View File

@@ -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)

View File

@@ -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")));