summaryrefslogtreecommitdiff
path: root/src/compositor/global/qtwaylandqmlinclude.h
blob: b008a8c7fa43e81116115e125702c8771474905f (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
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef QTWAYLANDQMLINCLUDE_H
#define QTWAYLANDQMLINCLUDE_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists purely as an
// implementation detail.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtCore/qglobal.h>
#include <QtWaylandCompositor/qtwaylandcompositor-config.h>

#if QT_CONFIG(wayland_compositor_quick)
#include <QtQml/qqml.h>
#else
#define QML_NAMED_ELEMENT(x)
#define QML_UNCREATABLE(x)
#define QML_ADDED_IN_VERSION(x, y)
#endif

QT_BEGIN_NAMESPACE
QT_END_NAMESPACE

#endif // QTWAYLANDQMLINCLUDE_H