From 087efb572ace9cbb864c1aab7357916cb7b0428b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 8 Oct 2012 17:19:14 +0200 Subject: Modularize documenation build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qdocconf files can now reference $QT_INSTALL_DOCS to pick up e.g. global includes, instead of using relative paths. Qt modules will automatically get a doc target that builds and installs into the right place (including supporting shadow-builds) if they set QMAKE_DOCS before loading(qt_module). Change-Id: Ia408385199e56e3ead0afa45645a059d1a8b0d48 Reviewed-by: Tor Arne Vestbø --- src/gui/gui.pro | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gui/gui.pro') diff --git a/src/gui/gui.pro b/src/gui/gui.pro index d9d2aaec2d..8b7bb13a26 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -6,6 +6,8 @@ MODULE_CONFIG = opengl DEFINES += QT_NO_USING_NAMESPACE +QMAKE_DOCS = $$PWD/doc/qtgui.qdocconf + load(qt_module) # Code coverage with TestCocoon @@ -22,9 +24,6 @@ mac { CONFIG += simd -QMAKE_DOCS = $$PWD/doc/qtgui.qdocconf -QMAKE_DOCS_INDEX = ../../doc - include(accessible/accessible.pri) include(kernel/kernel.pri) include(image/image.pri) -- cgit v1.2.3