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:
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2022 Alexander Lohnau <alexander.lohnau@gmx.de>
|
||||
SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#include <KQuickIconProvider>
|
||||
#include <QObject>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QTest>
|
||||
|
||||
class KQuickIconProviderTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private Q_SLOTS:
|
||||
void testRegisteringEngine()
|
||||
{
|
||||
QQmlApplicationEngine engine;
|
||||
engine.addImageProvider(QStringLiteral("icon"), new KQuickIconProvider);
|
||||
}
|
||||
};
|
||||
|
||||
QTEST_MAIN(KQuickIconProviderTest)
|
||||
|
||||
#include "kquickiconprovidertest.moc"
|
||||
Reference in New Issue
Block a user