qbs does not invoke qdoc -


all in question provided simple qdocconf file along project but, qbs not invoke qdoc while qdocconf in files property of project.

project.qbs

import qbs  project {     name: "loggingmessagehandler"      product {         files: [             "config.qdocconf",             "messagehandler.cpp",         ]         name: "loggingmessagehandler"         type: project.staticbuild ? "staticlibrary" : "dynamiclibrary"          depends { name: "cpp" }         depends { name: "qt.core" }          cpp.cxxlanguageversion: "c++11"         cpp.defines: [             "qt_deprecated_warnings",             "qt_disable_deprecated_before=0x060000"         ]          export {             depends { name: "cpp" }             depends { name: "qt.core" }             cpp.includepaths: [product.sourcedirectory]         }          group {             overridetags: false             files: "*.qdocconf"             filetags: "qdocconf-main"         }          group {             name: "install include"             overridetags: false             files: [                 "messagehandler.h",                 "loggingmessagehandler"             ]             qbs.install: project.installinclude             qbs.installdir: "/include"         }      }  } 

config.qdocconf:

project = loggingmessagehandler description = set of qmessagehandler function used qt logging framework.  depends += qtcore  outputdir = ./doc headerdirs = . sourcedirs = . exampledirs = . 

the project dir hierarchy: enter image description here

ps: project.installinclude switch set higher project file.

you did not tell qbs want documentation built. add relevant tag product type, such "qch". see https://doc.qt.io/qbs/qt-modules.html#core-file-tags qdoc-related file tags. see https://doc.qt.io/qbs/rule-item.html#rules-and-product-types on general role of product type.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -