Add libQuotient as KAboutComponent
With frameworks 5.85, this will make it show up in the aboutpage
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user