Advance Wayland and KDE package bring-up

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-14 10:51:06 +01:00
parent 51f3c21121
commit cf12defd28
15214 changed files with 20594243 additions and 269 deletions
@@ -0,0 +1,34 @@
/*
This file is part of the KDE libraries
SPDX-FileCopyrightText: 2020 David Faure <faure@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include <QApplication>
#include <QDebug>
#include <QList>
#include <QUrl>
#include <KIO/OpenFileManagerWindowJob>
int main(int argc, char **argv)
{
QApplication::setApplicationName(QStringLiteral("openfilemanagerwindowtest"));
QApplication app(argc, argv);
#ifndef Q_OS_WINDOWS
const QList<QUrl> urls{QUrl(QStringLiteral("file:///etc/fstab")), QUrl(QStringLiteral("file:///etc/passwd"))};
#else
const QList<QUrl> urls{QUrl(QStringLiteral("file:///c:/windows/notepad.exe")), QUrl(QStringLiteral("file:///c:/windows/explorer.exe"))};
#endif
auto *job = new KIO::OpenFileManagerWindowJob();
job->setHighlightUrls(urls);
job->start();
QObject::connect(job, &KJob::result, job, [&](KJob *job) {
app.exit(job->error());
});
return app.exec();
}