List of Built-in Services
Qbs provides the following built-in JavaScript extensions to simplify operations that are expected to be needed often in project files.
To gain access to the operations provided by a particular Service - for example, the File service - use the following statement at the top of your Qbs project file:
import qbs.File
If you instead need to access the service from a JavaScript file, import it using the following statement at the top of your JavaScript file:
var File = require("qbs.File");
Provides read and write operations on binary files. | |
Provides operations on the system environment. | |
Provides operations on the file system. | |
Provides operations on file paths. | |
Provides various operations. | |
Provides host information. | |
Allows you to start external processes. | |
Provides read, write and convert operations on property list files. | |
Creates a unique directory for temporary use. | |
Provides read and write operations on text files. | |
Provides miscellaneous operations. | |
Provides a DOM parser and generator to JavaScript. |
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.