blob: 93580642581e291d1c065dd4366b032bb1d2afe6 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
// Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
// SPDX-License-Identifier: BSD-3-Clause
/*!
\page index.html
\title QtScript Classic
\section1 Description
This component provides the original (pre-Qt 4.6)
implementation of the QtScript module.
Starting with version 4.6, the implementation
of the QtScript module in Qt is based on
JavaScriptCore, i.e. the JavaScript runtime in
WebKit. As an alternative replacement,
QtScriptClassic provides the original QtScript
implementation, which does not use
JavaScriptCore.
This component is intended as a
migration/mitigation solution for those pre-4.6
QtScript users for whom certain issues (mentioned
below) restrict their option to employ the new
QtScript module. Hence, the maintenance and
available support for this component will be on
the level of security and build fixes. This
component is not recommended for new software
projects.
The rationale for this component is twofold:
Firstly, JavaScriptCore may not compile on all
platforms that the original QtScript
implementation does. QtScriptClassic is provided
so that users affected by such build issues can
continue to use QtScript with Qt versions 4.6 and
later.
Secondly, JavaScriptCore is only available
under the LGPL license. QtScriptClassic is
provided also under the the commercial Qt
license.
\section1 Classes
\list
\i QScriptClass \i QScriptClassPropertyIterator \i QScriptContext \i QScriptContextInfo \i QScriptEngine \i QScriptEngineAgent \i QScriptExtensionPlugin \i QScriptString \i QScriptSyntaxCheckResult \i QScriptValue \i QScriptValueIterator \i QScriptable\endlist
\section1 Examples
\list
\i \link qtscriptclassic-example-helloscript.html Hello, World! Example \endlink \endlist
\section1 Tested platforms
\list
\i Qt 4.6 / Windows XP / MSVC.NET 2008
\i Qt 4.6 / Linux / gcc
\i Qt 4.6 / MacOS X 10.5 / gcc
\endlist
*/
|