diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-12-09 13:44:20 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-12-09 20:26:36 +0000 |
commit | 87efa57c6ddc1a8364b2ea4d9f909372d0af5cfc (patch) | |
tree | 42d374595fae6a96a45e3f9e532d5196f1394902 /examples/scriptableapplication/doc/scriptableapplication.rst | |
parent | dac29fa765d13301ebe7f94aeee08e9ef10d2474 (diff) |
Documentation: Fix warnings about not finding functions in WebXML
When searching functions by name and parameter types in the WebXML
pages, 4000 warnings like
Cannot find documentation for function QWhatsThis::showText(QPoint,QString,QWidget*) in ...whatsthis.webxml
using query:
/WebXML/document/class[@name="QWhatsThis"]/function[@name="showText" and @const="false" and count(parameter)=3]/parameter[1][@type="const QPoint &"]/../parameter[2][@type="const QString &"]/../parameter[3][@type="QWidget *"]/../description
Falling back to "void showText(const QPoint &pos, const QString &text, QWidget *w)" obtained by matching the argument count only.
appear. This is caused by libxslt apparently being unable to match
entities like & in XQuery expressions, so, this fails for
const-ref parameters like "const QString &".
To fix this, use "contains()" instead in the query.
Pick-to: 6.2
Change-Id: I5fe9edb3d2eab911b69a69e4a68cf9fd3f27677b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/scriptableapplication/doc/scriptableapplication.rst')
0 files changed, 0 insertions, 0 deletions