diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2017-03-27 11:12:29 +0200 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2017-04-04 07:37:07 +0000 |
commit | cce64318108aef5b68c62b2352fa02d0a3894a85 (patch) | |
tree | 87c2aa221f287fe3534d95b384f0ed46966942c0 | |
parent | 66d037808221b84a79583411d40fd3dbbdc12099 (diff) | |
download | neptune-ui-cce64318108aef5b68c62b2352fa02d0a3894a85.tar.gz |
Doc: Update doc config to enable building doc on Windows host
Change-Id: I000dcb156f44aea769ed2b8624263d6d5d17b3bb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
-rw-r--r-- | .qmake.conf | 3 | ||||
-rw-r--r-- | doc/doc.pri | 18 | ||||
-rw-r--r-- | neptuneui.pro | 5 |
3 files changed, 15 insertions, 11 deletions
diff --git a/.qmake.conf b/.qmake.conf index b734f94..020bf4e 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -1 +1,4 @@ #This empty file is required by qmake to generate the documentation targets. +VERSION = 1.1.0 + +CONFIG += prepare_docs qt_docs_targets diff --git a/doc/doc.pri b/doc/doc.pri index 5b56ae7..1d81e30 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -1,14 +1,16 @@ -isEmpty(VERSION): VERSION=1.0.0 build_online_docs: { QMAKE_DOCS = $$PWD/online/neptuneui.qdocconf } else { QMAKE_DOCS = $$PWD/neptuneui.qdocconf } -CONFIG += prepare_docs -load(qt_docs_targets) - -OTHER_FILES += \ - $$PWD/*.qdocconf \ - $$PWD/src/*.qdoc \ - $$PWD/src/images/*.png +DISTFILES += \ + $$PWD/neptuneui.qdocconf \ + $$PWD/online/neptuneui.qdocconf \ + $$PWD/src/neptuneui-index.qdoc \ + $$PWD/src/images/emulator-automotive.png \ + $$PWD/src/images/infotainment-cluster-apps.png \ + $$PWD/src/images/infotainment-cluster-carsettings.png \ + $$PWD/src/images/infotainment-cluster-mycar.png \ + $$PWD/src/images/infotainment-cluster-settings.png \ + $$PWD/src/images/infotainment-cluster.png diff --git a/neptuneui.pro b/neptuneui.pro index 7413263..481f7df 100644 --- a/neptuneui.pro +++ b/neptuneui.pro @@ -1,10 +1,9 @@ -include(doc/doc.pri) - TEMPLATE = subdirs SUBDIRS = plugins/datasource \ plugins/screenmanager \ - plugins/comtqci18ndemo + plugins/comtqci18ndemo \ + doc isEmpty(INSTALL_PREFIX) { INSTALL_PREFIX=/opt |