The qbuild tool generates the appropriate ninja file, which contains the build and deploy instructions (for the commands such as qfgl, qlink, etc., along with encoding options).
To provide additional build and deploy options, create a file ${project_path}/custom.ninja.
For example, you can specify the encoding for the file compilation if the file encoding is different from UTF-8: