aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pngdumper/pngdumper_plugin.cpp
blob: 9fb11f0b15378b1c62c5ef00b0c6a8d322be2e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/****************************************************************************
**
** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Graphical Effects module.
**
** $QT_BEGIN_LICENSE:COMM$
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** $QT_END_LICENSE$
**
**
**
**
**
**
**
**
****************************************************************************/

#include "pngdumper_plugin.h"
#include "pngdumper.h"

#include <QtQml/qqml.h>

void ItemcapturerPlugin::registerTypes(const char *uri)
{
    qmlRegisterType<ItemCapturer>(uri, 1, 0, "ItemCapturer");

    // Auto-increment the import to stay in sync with ALL future QtQuick minor versions from 5.12 onward
    qmlRegisterModule(uri, 1, QT_VERSION_MINOR);
}