Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2025 Halla Rempt <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KRITAQMLCOMPONENTSPLUGIN_H
#define KRITAQMLCOMPONENTSPLUGIN_H
#include <QUrl>
#include <QQmlEngine>
#include <QQmlExtensionPlugin>
class KritaQmlComponentsPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
public:
KritaQmlComponentsPlugin(QObject *parent = nullptr);
void initializeEngine(QQmlEngine *engine, const char *uri) override;
void registerTypes(const char *uri) override;
};
#endif