diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-29 18:12:39 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-02-01 14:02:37 +0100 |
commit | 125c0fc0b7f51847d2e6c92433c82c3e8982abb0 (patch) | |
tree | c39aab82dc3849ffd1e612c123fb1b862c7e9b0b /tests | |
parent | a052487c9ccd3697d487f3936f2cfa5b8088edd1 (diff) |
Drop JavaScript root object members from builtins.qmltypes
Those are not actually accessible from C++, and the description we had
was incomplete and misleading. There was no way to know that the "Math"
type, for example, was the type of a member of the global object called
"Math", but the "float" type was not. Furthermore the types given for
parameters and return values were only approximations. JavaScript's type
coercion allows us to use a number of other types, too.
There certainly is a place for a proper description of the global
object, but such a description should be generated from the actual
JavaScript root object as found in an actual QJSEngine. Furthermore, we
do need better syntax to describe it.
Change-Id: Ia573436df04ca967381e1e13dbd42a70bcc60979
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions