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
8
QT_USE_NAMESPACE
9
10
#if QT_QML_REMOVED_SINCE(6, 5)
11
12
#include <QtQml/qjsengine.h>
13
14
QJSValue
QJSEngine::create(
int
typeId,
const
void
*
ptr
)
15
{
16
QMetaType
type
(typeId);
17
return
create
(
type
,
ptr
);
18
}
19
20
bool
QJSEngine::convertV2(
const
QJSValue
&
value
,
int
type
,
void
*
ptr
)
21
{
22
return
convertV2(
value
,
QMetaType
(
type
),
ptr
);
23
}
24
25
#endif
26
QJSValue
The QJSValue class acts as a container for Qt/JavaScript data types.
Definition
qjsvalue.h:31
QMetaType
\inmodule QtCore
Definition
qmetatype.h:320
QT_USE_NAMESPACE
Definition
avfmediaassetwriter.mm:18
value
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Definition
qeglstreamconvenience_p.h:46
ptr
static ControlElement< T > * ptr(QWidget *widget)
Definition
qmdisubwindow.cpp:223
type
GLenum type
Definition
qopengles2ext.h:150
qtqmlglobal.h
create
view create()
qtdeclarative
src
qml
compat
removed_api.cpp
Generated by
1.9.7