forked from qt-creator/qt-creator
Help plugin: Synchronize qmake and qbs project files.
We now use Qt Webkit in the qbs build as well. Change-Id: Ib27a0d795bca3b266ee405ce2d925a96297f8c25 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
@@ -5,14 +5,10 @@ import "../QtcPlugin.qbs" as QtcPlugin
|
|||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "Help"
|
name: "Help"
|
||||||
|
|
||||||
Depends { id: qtcore; name: "Qt.core" }
|
Depends { name: "Qt"; submodules: ["core", "help", "network", "webkit"]; }
|
||||||
Depends {
|
Depends {
|
||||||
condition: qtcore.versionMajor == 4
|
condition: Qt.core.versionMajor >= 5;
|
||||||
name: "Qt"; submodules: ["widgets", "help", "webkit", "network"]
|
name: "Qt"; submodules: ["printsupport", "webkitwidgets"];
|
||||||
}
|
|
||||||
Depends {
|
|
||||||
condition: qtcore.versionMajor >= 5
|
|
||||||
name: "Qt"; submodules: ["widgets", "help", "network", "printsupport"]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
@@ -20,13 +16,7 @@ QtcPlugin {
|
|||||||
Depends { name: "Locator" }
|
Depends { name: "Locator" }
|
||||||
Depends { name: "app_version_header" }
|
Depends { name: "app_version_header" }
|
||||||
|
|
||||||
cpp.defines: {
|
cpp.defines: base.concat(["QT_CLUCENE_SUPPORT"])
|
||||||
var list = base;
|
|
||||||
if (qtcore.versionMajor >= 5)
|
|
||||||
list.push("QT_NO_WEBKIT");
|
|
||||||
list.push("QT_CLUCENE_SUPPORT");
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
// We include headers from src/shared/help, and their sources include headers from here...
|
// We include headers from src/shared/help, and their sources include headers from here...
|
||||||
cpp.includePaths: base.concat([sharedSources.prefix, path])
|
cpp.includePaths: base.concat([sharedSources.prefix, path])
|
||||||
|
|||||||
Reference in New Issue
Block a user