From 4f961f1f580bca602e1c4e8fffd906edb374d03d Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 22 Jan 2021 14:44:32 +0100 Subject: builtins: Don't export Math, JSON, String Those are properties of the JS global object. You cannot use them as normal types. Change-Id: I1f80e1be8f598cb102109fa2f685cd2b55ad6950 Reviewed-by: Fabian Kosmale Reviewed-by: Andrei Golubev --- src/imports/builtins/builtins.qmltypes | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/imports/builtins/builtins.qmltypes b/src/imports/builtins/builtins.qmltypes index d5279dcbdd..53c97e5b20 100644 --- a/src/imports/builtins/builtins.qmltypes +++ b/src/imports/builtins/builtins.qmltypes @@ -290,8 +290,6 @@ Module { Component { name: "Math" - exports: ["QML/Math 1.0"] - exportMetaObjectRevisions: [256] Property { name: "E" @@ -748,9 +746,6 @@ Module { Component { name: "JSON" - exports: ["QML/JSON 1.0"] - exportMetaObjectRevisions: [256] - isSingleton: true Method { name: "parse" @@ -793,9 +788,6 @@ Module { Component { name: "String" - exports: ["QML/String 1.0"] - exportMetaObjectRevisions: [256] - isSingleton: true prototype: "StringPrototype" Method { -- cgit v1.2.3