diff options
author | Richard Weickelt <richard@weickelt.de> | 2021-02-13 02:18:29 +0100 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2021-02-13 14:05:24 +0000 |
commit | 4b1cdb826f9d87bec94f61a03039bc33793d22f0 (patch) | |
tree | 492d64e4fb9cff58f1c48b912a0abe5515a55c06 /share/qbs/modules | |
parent | 749cadaff6f299d32783b0a8e1e33551b80247f0 (diff) | |
download | qbs-4b1cdb826f9d87bec94f61a03039bc33793d22f0.tar.gz |
Add missing import statements
The current QtScript implementation does not warn about missing import
statements in some cases. Imported .js files should never inherit
imports. This will become an error in the JS port.
Change-Id: I880afabba64c0766063304c723242e242ac89b81
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'share/qbs/modules')
-rw-r--r-- | share/qbs/modules/Android/sdk/utils.js | 2 | ||||
-rw-r--r-- | share/qbs/modules/ico/ico.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/share/qbs/modules/Android/sdk/utils.js b/share/qbs/modules/Android/sdk/utils.js index 63bf1f5c4..6fa200822 100644 --- a/share/qbs/modules/Android/sdk/utils.js +++ b/share/qbs/modules/Android/sdk/utils.js @@ -30,9 +30,11 @@ var File = require("qbs.File"); var FileInfo = require("qbs.FileInfo"); +var ModUtils = require("qbs.ModUtils"); var Process = require("qbs.Process"); var TextFile = require("qbs.TextFile"); var Utilities = require("qbs.Utilities"); +var Xml = require("qbs.Xml"); function availableBuildToolsVersions(sdkDir) { var re = /^([0-9]+)\.([0-9]+)\.([0-9]+)$/; diff --git a/share/qbs/modules/ico/ico.js b/share/qbs/modules/ico/ico.js index 997a6dc23..a61d585ab 100644 --- a/share/qbs/modules/ico/ico.js +++ b/share/qbs/modules/ico/ico.js @@ -29,6 +29,7 @@ ****************************************************************************/ var File = require("qbs.File"); +var FileInfo = require("qbs.FileInfo"); var Process = require("qbs.Process"); function prepareIconset(project, product, inputs, outputs, input, output) { |