From 28f803d359c5f3102514d7817478cb4927114102 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 6 Dec 2016 16:16:26 +0100 Subject: Make the documentation embeddable in other projects This is for the qbs build. We've already done it for qmake. Task-number: QTCREATORBUG-13124 Change-Id: I14ffd9d5184cef8378da377190107ff4496a815a Reviewed-by: Joerg Bornemann --- doc/doc.qbs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/doc.qbs') diff --git a/doc/doc.qbs b/doc/doc.qbs index f7efdd239..c83259c42 100644 --- a/doc/doc.qbs +++ b/doc/doc.qbs @@ -6,6 +6,7 @@ Product { builtByDefault: false type: "qch" Depends { name: "Qt.core" } + Depends { name: "qbsbuildconfig" } files: [ "qbs.qdoc", @@ -28,8 +29,13 @@ Product { Group { fileTagsFilter: ["qdoc-output"] - qbs.install: true - qbs.installDir: "share/doc/qbs/html" + qbs.install: qbsbuildconfig.installHtml + qbs.installDir: qbsbuildconfig.docInstallDir qbs.installSourceBase: Qt.core.qdocOutputDir } + Group { + fileTagsFilter: ["qch"] + qbs.install: qbsbuildconfig.installQch + qbs.installDir: qbsbuildconfig.docInstallDir + } } -- cgit v1.2.3