aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/qt/qtfunctions.js
blob: c6dbf4de5cf26be7a19b3f673ecc108cadd00c19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// helper functions for the Qt modules

function getLibraryName(qtModule, targetOS, debugInfo)
{
    var isUnix = (targetOS == 'linux' || targetOS == 'mac')
    var libName
    if (isUnix)
        libName = qtModule
    else if (targetOS == 'windows')
        libName = qtModule + (debugInfo ? 'd' : '') + '4.lib'
    return libName
}