forked from qt-creator/qt-creator
fix qbs files for MacOS
Change-Id: I73dc7f853eb250ae155386674d8cb9aa1d3c1678 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -57,11 +57,12 @@ QtcLibrary {
|
||||
result.push("botan-1.10")
|
||||
if (qbs.targetOS === "windows")
|
||||
result.push("advapi32", "user32")
|
||||
else {
|
||||
result.push("rt")
|
||||
if (qbs.targetOS === "linux" || qbs.targetOS === "mac")
|
||||
result.push("dl")
|
||||
}
|
||||
else if (qbs.targetOS === "linux")
|
||||
result.push("rt", "dl");
|
||||
else if (qbs.targetOS === "mac")
|
||||
result.push("dl");
|
||||
else if (qbs.targetPlatform.indexOf("unix") !== -1)
|
||||
result.push("rt");
|
||||
return result
|
||||
}
|
||||
property var botanDefines: {
|
||||
|
||||
@@ -31,6 +31,8 @@ QtcPlugin {
|
||||
]
|
||||
}
|
||||
|
||||
cpp.frameworks: qbs.targetOS === "mac" ? ["AppKit"] : undefined
|
||||
|
||||
files: [
|
||||
"basefilewizard.cpp",
|
||||
"basefilewizard.h",
|
||||
@@ -234,8 +236,10 @@ QtcPlugin {
|
||||
}
|
||||
|
||||
Group {
|
||||
condition: qbs.targetOS == "macx"
|
||||
condition: qbs.targetOS == "mac"
|
||||
files: [
|
||||
"macfullscreen.h",
|
||||
"macfullscreen.mm",
|
||||
"progressmanager/progressmanager_mac.mm",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user