// DIE's signature file

init("library", "QT");

function getVersion() {
    var current = MACH.getLibraryCurrentVersion("QtCore");

    return ((current >> 16) & 0xFF) + "." + ((current >> 8) & 0xFF) + "." + (current & 0xFF);
}

function detect(bShowType, bShowVersion, bShowOptions) {
    if (MACH.isLibraryPresent("QtCore")) {
        sVersion = getVersion();
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}