| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
QtMultimedia QML module contains a QML type QtMultimedia. QDoc
was overriding one with the other because the search function
returns both types of nodes (as they have the same genus, 'QML').
Fix this by checking that we actually found an existing type, not
a module.
Task-number: QTBUG-75186
Change-Id: Id7a151d6db137fd337e4dd68ebe7c8aa08ed80e0
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Switching to one of the subpixel modes while having a zoomfactor below 3
made increasing the zoom (via context menu) impossible.
Also, increasing/decreasing the zoom level via +/- keys did not happen
in steps by 3 like when increasing/decreasing via context menu.
Change-Id: Ibf69bc6247c74b960614b99df81a227ca57f5d5f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Source and image file lists that are automatically generated at the end
of example pages have outlived their usefulness, at least for Qt docs.
When browsing example documentation offline via Qt Creator's Help, the
user has typically already opened the example project. For online
documentation, a better option is to link to a remote repository where
the user can browse the example's content.
This commit adds a new configuration variable 'url.examples' - if
defined, file listings are omitted and a link is constructed for each
example based on the parameter passed to the \example command and
the 'examplesinstallpath' configuration variable.
Task-number: QTBUG-74391
Change-Id: If1f76ee34c5e50236fae626f251e00bf24c1045d
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
It had been required that \relates could only be used to
relate global entities to a class. This change allows \relates
to be used in the comments of entities in a named namespace.
There are several cases in qtextstream.cpp
Change-Id: I17b61dbdaf6b6bd8c420a2fa1fd9deef6b7125dc
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the build system can't pass qdoc the include paths to qdoc,
qdoc tries to guess reasonable include paths. There has been one
case running qdoc on macOS for the QtPlatformHeaders module, where
qdoc must try to guess the include paths. The guessed paths are
not sufficient, and clang prints a large number of errors caused
by missing stuff. This change tells clang not to report errors
during the PCH build if qdoc had to guess the include paths.
qdoc reports in its log that it guessed the include paths and
that it turned off the clang error reporting.
Change-Id: I91a4242dcc7d3017d511d969621cc3d673c47963
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
qdoc was reporting an error when the reimplementation of a virtual function
that was documented in the base class was given a qdoc comment in the derived
class that only contained the \reimp command. When the reimp command is used,
the error should not be reported. This change implements that.
Change-Id: I6905e35b4e9c3df12617446c04eb9ea6d1804832
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
| |
qdoc redeclares two virtual functions from the QML
parser in qtdeclarative. These declarations were
missing the override keyword, so this update adds it.
Change-Id: Id7db696e22750f0f5649cee5121e8f491cb8f114
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because we have QML types that represent C++ classes,
it is possible for qdoc to process a \qmlproperty command
before it has processed the \qmltype for the QML type
where the QML property belongs. This is because the
\qmlproperty command can appear in a different .cpp file
from the one containing the \qmltype command. If the .cpp
file is parsed first, the QML type node won't exist when
the \qmlproperty is processed, resulting in a qdoc error.
This update forces qdoc to always check for the exist of
the QML type before creating it and before creating any
QML properties for it, and if the QML type does not exist,
create it. If it does exist, use it.
Change-Id: I78705aa95ee5bf3abc2e17fb2b6cd52191d54b68
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have been using the \qmlpropertygroup command to document complex
properties. we also have the \jspropertygroup but it hasn't been used.
However, we also have the shared comment concept, which we have used
for documenting groups of functions. This update changes qdoc to use
the shared comment concept for QML and JS property groups. The property
groups commands are therefore no longer needed. But there are several
uses of the \qmlpropertygroup command, and qdoc still recognizes these,
although it uses the shared comment concept to handle them. The property
group commands will be removed from the qdoc manual in a later update.
Change-Id: Ie98638546756fd1a70067a7cd483c3b962c02954
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
| |
The qtxmlpattern will become obsolete in Qt 5.13.
Change-Id: Id5e67d4681f3fde9d09705aea3377727db71e964
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ifaaa316c5ed0273790e9957d04f0c36c08803eb8
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
| |
These are value classes that are not supposed to be inherited.
Mark them as final and remove any virtual destructors.
Change-Id: I86d42f8340e6c7b6013c6ed135079ecd9bd44cfb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
| |
Change-Id: I4be504cc4de6a6552b61108d0dd00d79d46308b7
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/qdoc/configure.pri
Change-Id: Iffd359fb2fa1480ea08253ef85bf2beff3ba188d
|
| |
| |
| |
| |
| |
| |
| |
| | |
Implementations of QQmlJS::AST::Visitor are required to do so.
Task-number: QTBUG-74510
Change-Id: I0081d2d2e4385402022a6eb8b046e82ebd68983c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure that minimumSectionSize is handled before currentSectionSize
so a current section size lower than the default minimum section is
properly handled.
The same is done for QtBase in 7aa1078ecb8afd96050771635c0d3fa4238d3338.
Change-Id: Id33ff11ef35cc92e0adf13402dc847b8f45c38a9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Implementations of QQmlJS::AST::Visitor are required to do so.
Fixes: QTBUG-74510
Change-Id: I061240f15ce082a05dd7829d225a5bfc3edd896a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: I23480fa2e34e33736d27cd692474f660e81ce9da
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In cases where llvm-config was installed without libclang-dev,
the llvm-config candidate detection happily proceeded with the
first version it found. This change improves on this by checking if
the candidate also has clang-c/Index.h (our dependency).
This change also adds llvm-config-8 as candidate for locating
libclang, and tidies up some of the log messages from configure.
Change-Id: I2746c5f427279ab38db4b20a123b695ecaebd1e9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
(cherry picked from commit 6ef3752a7a13b29a20b20c98cf6845f02f24c9c6)
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the new functionality in the QPA interface.
Task-number: QTBUG-50371
Task-number: QTBUG-65882
Change-Id: Id42ae50099fe5064e32dedbe6364254058a0508f
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Beginning in 5.13, qdoc prints log lines in the the qdoc warning and error
output that tell the reader what qdoc is doing. These can help the reader
quickly see where qdoc is working when it prints warnings and errors. Each
LOG line also included a timestamp, which was useful for measuring how much
time qdoc was using in each phase of each module.
But these timestamps made diffing sequential log files difficult, so the
timestamps are now removed. They can be enabled for debugging qdoc by
adding -timestamps to the qdoc commandline.
Change-Id: I55ae24e642757eed2cb57028bd22626b6efc82f9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An update to qdoc that refactored the index file output was not reflected
in the webxmlgenerator.
This commit implements a callback interface between QDocIndexFiles and
WebXMLGenerator to enable the latter to append documentation to generated
elements. This also eliminates virtually all duplicated logic between the
two classes.
Fixes: QTBUG-74424
Change-Id: Ia302bbfd290c8d74591cb4804458d5b73c301378
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows for removing many ugly C-style casts.
Change-Id: I3ea55a421989122d56ddc387a861e38fb459caff
Reviewed-by: Martin Smith <martin.smith@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At the moment, qdoc cannot generate documentation
for python examples as it expects a .pro or
.qmlproject file for every \example command it
finds. Since Qt Creator v4.9, developers can create
a python project using the New Project wizard, which
means qdoc could use the .pyproject file to verify
the python example.
Change-Id: Idcecdffe4f798bd1409123f988e3b826247aed72
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously page (doc) nodes as well as example pages were aggregates.
They no longer are, so we have to check against that specifically in
order to generate output for them.
Change-Id: If697104f62e3cb8de6caeb7ee758891ebf2fd077
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QML method and signal signatures were written with an extra comma.
This update removes that extra comma.
Change-Id: Iebe553e5a4438992b0115c8cafb0ffc7fb82b672
Task-number: QTBUG-74010
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
shared/previewconfigurationwidget.cpp:268:34: warning: ‘DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations]
dlg.setFileMode(QFileDialog::DirectoryOnly);
shared/qttoolbardialog/qttoolbardialog.cpp:1139:31: warning: ‘TextColorRole’ is deprecated [-Wdeprecated-declarations]
Change-Id: Ia989156baf35c2be6f763c067da9440d0b2c7dee
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Id06ccca252abc84720b18909f55019266426eb97
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
When the gui module is used then the platforminputcontext plugins should
be deployed. Additionally if that includes the virtualkeyboard plugin
then those should also be deployed with it.
Change-Id: I2787792e91a9cfe3603a4e2e29273f682942bf36
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ib44d3965f45272f7b791f1d164b0901d170c239d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-74082
Change-Id: Ifbcb9076d2884f78f16b9d80859551c37c73954f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: If83486ad7c746beed79f3bd45da7d8ba832f25cb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I6d3ff3cd13da201bc716b7bda7b1affda03fb323
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It may happen that version or component value is empty
for a specific documentation. Make this case work.
Change-Id: I7133f1554d2fe72e3b9a4731e80245ceb051e596
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This influences the preferences dialog, as now there will
be "No version" and "No component" text displayed
instead of one general "No option".
Change-Id: I62da44fbb78f5f11c82d59dd5acf55868a8ec443
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This mimics the behavior of old filters,
where in 98% of use cases the qch file provided
a separate filter for its module.
Change-Id: I537d8336ea3cc0c6c894b494d7f2346df7499572
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After renaming the current filter in preferences
and applying changes, rename the current filter properly
in the help engine.
Change-Id: I5a70171b494b50b30f1d95a8cce05acd0f5c3b8d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make it possible to filter the documentation
by version number. This easily allows for
showing the docs for one or more specified
versions inside a custom filter.
Task-number: QTCREATORBUG-19724
Task-number: QTCREATORBUG-7301
Change-Id: Ia0bc63666ab8152e43ffb6a6b6b99610e30575f7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Aggregate class maintains a QMap of child nodes that is used for
searching. PageNode entries may be added in the map multiple times,
both with name() and title() as the key.
When returning a list of non-function children, duplicates are now
removed.
Task-number: QTBUG-74009
Change-Id: I7e5df359313a53fa3b5bc4f9efa6e3ac6ea11eab
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Class is not final, nor do we prevent inheritance in any other way.
This amends 7c39470f17, which got added for 5.13.
Change-Id: Idbf82b58e5bd54b21ec2615cb2ebdc6cb5ece4a8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add move constructors and move assignment operators to QHelpFilterData,
QHelpCollectionDetails. Both classes are implemented in terms of a
QSharedDataPointer, which offers a move constructor and move assignment
operator, so it makes sense to just 'export' this to the class API.
In addition, let the compiler create the implementations of the normal
copy constructor and assignment operator.
Change-Id: Id2d8a86b0b1e0a2e75fec989ae1f5442ead50410
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Icf81ff0c3fb4e811f58a809bc01d6599a1f00b2c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-73738
Change-Id: Id5ecec6fba37127032bf3f002a720615ccc18288
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change replaces the existing application icons with the newly
designed ones.
Task-number: QTBUG-70826
Change-Id: I4bd2c4116014eac4b0ac16efba28d50f4da936eb
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While merging commit 4367cf31 from 5.12 to dev, a section of the code
that was supposed to be deleted was left around. This caused
duplicate <h2> headers and in some cases, invalid HTML output.
Change-Id: I6f535391a06eced97ebd5c03b45ffb2b10f0a89b
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: If9dc5f167e9471b4633db73ae5a1cb8c1312b478
|
| |
| |
| |
| |
| |
| |
| | |
This patch adds deployment of the QtSpeech plugins.
Change-Id: Ifc55f40cdc0ed6fd9444993c04f4d76249649daf
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is information important enough to show up in the title, and
therefore also in the overview pages.
Change-Id: I4bad7b46e186e34133a8a3cebe0c68cebec0e76c
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When QDoc calls Aggregate::normalizeOverloads(), process \internal
function nodes last. This ensures that they get assigned overload
numbers higher than the public ones, and adding internal overloads
no longer shuffle around the public HTML anchors (that are based on
the overload numbers).
Also, when searching for functions, ensure that we don't return an
\internal overload if a matching public one exists. This gets rid of
a number of linking warnings.
Change-Id: Idaac077e2f88d310e3261bf5b4c3df33ca02f873
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
../shared/runqttool.cpp:96:16: error: use of undeclared identifier 'WEXITSTATUS'
exitCode = WEXITSTATUS(ret);
Change-Id: I96aa0324f3749702323217e5cf7f7570c80424a2
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|