Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
removed_api.cpp
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#define QT_QML_BUILD_REMOVED_API
5
6#include "qtqmlglobal.h"
7
9
10#if QT_QML_REMOVED_SINCE(6, 5)
11
12#include <QtQml/qjsengine.h>
13
14QJSValue QJSEngine::create(int typeId, const void *ptr)
15{
16 QMetaType type(typeId);
17 return create(type, ptr);
18}
19
20bool QJSEngine::convertV2(const QJSValue &value, int type, void *ptr)
21{
22 return convertV2(value, QMetaType(type), ptr);
23}
24
25#endif
26
The QJSValue class acts as a container for Qt/JavaScript data types.
Definition qjsvalue.h:31
\inmodule QtCore
Definition qmetatype.h:320
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static ControlElement< T > * ptr(QWidget *widget)
GLenum type
view create()