1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QTWAYLANDQMLINCLUDE_H
5#define QTWAYLANDQMLINCLUDE_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17#include <QtCore/qglobal.h>
18#include <QtWaylandCompositor/qtwaylandcompositor-config.h>
19
20#if QT_CONFIG(wayland_compositor_quick)
21#include <QtQml/qqml.h>
22#else
23#define QML_NAMED_ELEMENT(x)
24#define QML_UNCREATABLE(x)
25#define QML_ADDED_IN_VERSION(x, y)
26#endif
27
28QT_BEGIN_NAMESPACE
29QT_END_NAMESPACE
30
31#endif // QTWAYLANDQMLINCLUDE_H
32

source code of qtwayland/src/compositor/global/qtwaylandqmlinclude.h