Home · Overviews · Reference · Classes codeless banner

installs Javascript Class Reference

Methods

targets(name): list<SolutionFile>

fetchdata(obj, data): bool

Use it like this:

    var obj = project.property("target");
    var data = {
        files: {
            value: null,
            type: "existingFiles"
        },
        path: {
            value: null,
            type: "imagePath"
        }
    };
    if ( !installs.fetchdata(obj, data) ) return;

type can be one of:

isDirectory(file): bool

Pass in a filename (string) and returns true if it's a directory.

See also Javascript Binding.


Copyright © 2009 Trolltech
Qt Extended - QBuild Maintainer Guide