| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: Ic2b7cb24226f4dcd59a566b4cf1d58f380c44080
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
\typealias was already a command recognized by QDoc, but it was simply
treated as a synonym for \typedef and was not documented. Implement
proper support for the command:
- Add [alias] designation both in type summary and details.
- Auto-generate information about the aliased type, including a link
if aliasing a public, documented type.
- Auto-convert aliases documented with \typedef to type aliases.
- Add basic support for aliases also to DocBook and WebXML generators.
- Document \typealias.
Fixes: QTBUG-82712
Change-Id: Iafa8c7def0a7488d7521fbc2862290a9bb3167ff
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\
| |
| |
| | |
Change-Id: I1fdd80c6b7c2615815acc262f01a3893d28406a3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After following a link to look up a keyword, resizing the width of the
window would lead to the looked-up position being scroled away. This
fix is adapted from the corresponding fix in Qt Creator,
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/274996
Fixes: QTBUG-34525
Change-Id: Ia9c2aab4b2c8039965eff098ff51dbdcc4967a01
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: I885c3827abef00ab29df36d915040ebd5635fc96
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I7ba4e256a3dddcd3df7e041659a41cff39bc78dd
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
+ 447f33743c3e07d645831f07b821ad76a203fd6f QDoc: Let configure accept libclang built from git sources
+ b693122a4e08e5745d1b288ef7e1525b085c1ebd qdoc: Fix regression in QML types inheriting property groups
+ 4f8bb92f9654efd6cc5dc7c6b08979fe3106b3ea qdoc: Sort the members of shared comment node collective
+ 5eae325fcb4140155fe97ee0dff6101e4a2db444 QMake: fix GCC 9 -Wdeprecated-copy warnings
+ cd50765264adac52dc7ace48b0f339c0b13f76fc qdoc: Allow per-example override of install path
+ 653884ab6988ea72fc0d5cc21675efcef67d0455 qdoc: Override isObsolete() for a FunctionNode
+ 01dbe9a348f09cfefc927d1de96d82afbd09f995 qdoc: Do not sort nodes based on their address
+ 1639c9a80490fc56c2bb1438dfa0d84455be55ed QDoc: Move logging to helper method
+ a3d82bec9678fda3d8c8b7766e83267142d1ef4a Bump version
+ cd352d921fc2f523f8d83d387d51390305e71d89 Doc: Remove references to 4.x in QDoc manual
+ 559332dc3efa507baaaba4ea8288bdb2318bc73d qdoc: Fix regression in linking to QML properties in offline docs
+ 26daab2554a55243a0cb6744346e1cfb27cfc3a9 QDoc: Remove Location::null
+ c555d3493f52c378707a40d824d70f369e0b4db9 qdoc: Extend \include command to include exampledirs
+ 698ffa215fd3fd7b8dd67ed9be88ca1a6731df91 windeployqt: Use correct file name for ANGLE
+ ce895f066579f71d87c3b46361e291ad7734e88e QDoc: Fix handling of -F option
Change-Id: I9704f2e8778288bd01915cd2fd4a4ace93285496
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Replace the use of QTEST_APPLESS_MAIN with a main() that accepts a
command line option -regenerate. When set, all tests are skipped and
the expected data directory is re-populated from the output generated
by QDoc.
Fixes: QTBUG-81210
Change-Id: If362338570fca2f7348bf25e452b02a91a96ff14
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using an \fn command to document a function that has default
values for parameter(s), The Clang parser retrieves a relevant
section of the source file that contains the expression for the
default value. In case of \fn, the source is a temporary translation
unit that was constructed on the fly - but it may not exist anymore,
and the default value is lost.
Fix this by storing the contents of the temporary TU for later access.
Fixes: QTBUG-83472
Change-Id: I20ad9e3322636450db1def65933837c1c767f2c4
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |\ \ \ |
|
| | |\| |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie46e3fab55d3641f058446c35e8333d2d6626b54
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note that one has to restart their build shell after installing
llvm with the pre-built installer on Windows.
Task-number: QTBUG-83429
Change-Id: Ife15ba8179bb53930315f597f05c09bd1a12cbeb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes: QTBUG-65585
Fixes: QTBUG-68280
Change-Id: I7843e2d597e27c2d46ffcafe67b6bfd624770455
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
And add 'QDoc' as a word ignored for auto-linking.
Change-Id: I16a33b8448e8bfa340f4c62149f702fea13d5533
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There was some old code and documentation for this variable, but
using it had no effect on the output. Similarly, the \generatelist
command no longer recognized the edition-specific parameter.
Fixes: QTBUG-83367
Change-Id: I42a1e67855ffd781e326e9d89cec0dde51cb14d0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With Xcode 11.4, in some cases it will have ", weak" as part of the
framework description when running otool. Therefore we need to account
for this so it still sees it as a valid entry.
Cherry-picked from branch: dev
Change-Id: I4018d42aa54f4e6434ee6defa119f3c913893819
Reviewed-by: cherrypickbot
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
findfiledialog.cpp:188:24: warning: ‘AdjustToMinimumContentsLength’ is deprecated: Use AdjustToContents or AdjustToContentsOnFirstShow [-Wdeprecated-declarations]
tst_lupdate.cpp:291:63: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
tst_qtattributionsscanner.cpp:112:63: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
tst_qtdiag.cpp:70:27: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
Cherry-picked from branch: dev
Change-Id: I103a28bd6ce97de311042f145d4a793be9d4b9a7
Reviewed-by: cherrypickbot
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also remove references to qt.qdocconf which was specific to Qt 4,
fix documentation for the related variables ('indexes' and 'project'),
and link to them from the table of contents.
Fixes: QTBUG-37806
Change-Id: I1a5884f505c0ff2d2f4e2072cccb0c77f9ed04ff
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Information on reading and writing index files is only needed
if -debug is set.
Change-Id: I0bfe2469e0a6a6cea3dd9a59ed5cc4838638ae88
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I3728a77d44798e5ab71c6f775f95821513be00fe
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ensure new connections are visible and selected.
The order of statements in Add/DeleteConnectionCommand
needs to be changed for the model indexes to be valid.
Cherry-picked from branch: dev
Change-Id: Ib66ab86a085e47829cc5c8c0c6da78c9a7321748
Task-number: QTBUG-82924
Reviewed-by: cherrypickbot
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: QTBUG-82399
Change-Id: I055d72db87ef6f568f19302c8baf44eaa35e0268
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For notarization to succeed, several options have to be activated when
signing the application:
* the hardened runtime has to be activated
* a secure timestamp must be generated
* the application has to be signed with a Developer ID certificate
Add the option sign-for-notarization to conveniently activate both
options.
Change-Id: I7ddf3f36091f4d5d081166d32f65a4ab446536ce
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apple now requires the developer to include a secure timestamp in the
application's signature in order for notarization to succeed.
Add an option to do this to macdeployqt.
Change-Id: Ia884de80822661abcf65a287e4dc8429ec24b766
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The implementation was broken in the sense that it would
return column text strings for the font/color roles since enum
deprecatedMember was 0.
Restructure the code to use a switch and a helper for the column
text.
Cherry-picked from branch: dev
Change-Id: Ifb055519b796d4323c3aac7bf24ccac8facf1497
Change-Id: I43a9c7e9f48ecb2e51849ce53e939c80aae54d5a
Task-number: QTBUG-82924
Reviewed-by: cherrypickbot
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A recent refactoring of code related to generation of example file
lists caused a regression; if the parameter passed to an \example
command contained subdirectories, e.g.
\example tutorials/gettingstarted
only the immediate example directory ('gettingstarted' above) was
recorded in generated example lists and manifest files.
Ensure that the file paths are prefixed with the full example
location, and add a test to cover this.
Fixes: QTBUG-83130
Change-Id: I061dcf6cd4e94a2c65e5a50a39f379759d7cd06f
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I9d1c9126b526161aa58c9068bca30ef6dd1ac7fb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ie3c74010c62fa6c468732364bd1be77024fcca5b
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QDoc allows macros to be nested, and macro parameters can also be
other macros, but in one code path the parameter was read verbatim,
i.e. not expanded. This is an unnecessary restriction so remove it.
Fixes: QTBUG-83085
Change-Id: I6dc7c2f7586a65bee78096fb50685262dad2ffe3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/qdoc/clangcodeparser.cpp
Change-Id: I2ba822fde6c50ea782839de7d5cb155354c33b52
|
| |/
| |
| |
| |
| | |
Change-Id: Ia150b72a064e39bc25cca774a337b44d9127c1e0
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When qdoc is built with QDOC_PASS_ISYSTEM define, it is possible to pass
-isystem options to qdoc, and it will forward them to clang.
Commit ce895f066579f71d fixed handling of the -F option, this commit
fixes the -isystem option in a similar way.
Change-Id: I876546650354ca3ee7f6edd216fd38b3d1a17285
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Even though it was documented to use -F to pass framework paths to
QDoc (macOS), that was not working and instead passing
"-I-Fthe_path_that_was_specified" to Clang.
[ChangeLog][qdoc] Fixed "-F" option on macOS
Task-number: QTBUG-82252
Change-Id: Ib85e3affad5487e428a8eccf0c239b437c75b759
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QDoc looks for project file(s) in the example directories
before generating docs for the example. Now that we are
moving towards CMake, it's ideal that qdoc is aware of this
new project file type.
Refactor the code that looks for project files - add a new
function to Config for this purpose, and store the project
file name into ExampleNode. This allows removal of
duplicated logic when generating the example-manifest.xml
file.
Add a unit test for Config::getExampleProjectFile(), and
modify the generatedoutput test to cover output for a
CMake-based example.
[ChangeLog][qdoc] Added support for CMake-based example projects.
Fixes: QTBUG-82908
Change-Id: If9f061c613fee94b35df277043c2f4df93da7ec0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In single-exec mode, QDoc loads a master qdocconf file containing
a list of paths for each doc project that is part of the build.
These paths were considered relative to the current working dir,
meaning that one could not use paths relative to the master file.
Fixes: QTBUG-82918
Change-Id: I44208620f59fec17f4e35d63852cfaf9f035ab24
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The usage of QMap as a multi map has just been deprecated.
Adapt the QtHelp API accordingly. Introduce QHelpLink data
structure.
Fixes: QTBUG-82334
Change-Id: I8ff15710b1a433ddcb3000e5bcf58790c983e63f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Prefer list initialization
* Unify member variable naming (prefix with 'm_' rather than postfix with '_')
Change-Id: I603d184cb455e0523f7a2ab53abea6a0c8872403
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I only need qdoc from qttools, but building the other tools takes up
quite a bit of time. qdoc already has a configure feature, so account
for the rest of them.
Change-Id: I0fc60393a1841229025c42b83d06f01668eb2680
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The command is deprecated and has no effect apart from generating
a documentation warning.
Drop the command also from the output generated by qtattributionsscanner.
Change-Id: Ic286909215d55f4062ea0af790bfb9be91747a98
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Even though the \noautolist has been documented to work for C++ module
pages, using it within \module documentation had no effect. Generate
the list of namespaces and classes only if \noautolist does not appear
on the module page.
Add a test for \noautolist, for both HTML and DocBook generators.
Fixes: QTBUG-82822
Change-Id: I27dcdafaa44981f18d08f2f27a148a1febba2d8a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This resolves some potential compile issues related to standard GCC
headers.
Fixes: QTBUG-69560
Change-Id: I17e0a90eca4384cd8b2171e53cee83cc77f7e1ab
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The \contentspage command doesn't produce nav links to the contents page
between the next and previous pages. QDoc hasn't generated these links
in html output since Qt 5.3. Remove the documentation that refers to the
command and add a warning that it should not be used..
Task-number: QTBUG-75170
Change-Id: Ib16fc1cbb1e661a7519ba650e655e209c3b45b68
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix all QDoc warnings for the tests and set the warning limit to zero.
If any warnings are introduced, QDoc will exit with non-zero value and
the test will fail.
The exceptions are the tests specific to the DocBook generator, where
we expect to see two warnings related to shared comment nodes. The
generator currently has trouble handling these.
Fixes: QTBUG-82808
Change-Id: I0482516e1e34b92592d921a4a0ffb41e4b2b4770
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit 5234c7fc fixed an issue with missing \inmodule commands,
but it ended up adding non-aggregates into the module as well
which was not the intention. This caused excess nodes being
listed as a module members, causing issues for the WebXML output
format as well.
Partially revert 5234c7fc, fix the issue correctly, and update
the test for .index files.
Change-Id: I85fc19152b3de8993f92361fbe1ad2fd934c79ae
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After processing a source file, we need to clear any potential stored
namespace scope. Left uncleared, if the next source file is not parsed
with Clang but still use ClangCodeParser::parseFnArg(), the incorrect
scope is applied.
Change-Id: Iba1e791ac01c0f1c699a808ce644b4edbb682399
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ib7dbb54c0a2d8ea7b754edc8fb7d2175471acc38
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: If65d87e520f228997a857dbbebc13d98fa9ce994
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
..\distancefieldmodel.h(197): error C2027: use of undefined type
'QPainterPath'
Change-Id: I3c97811a14bb82bf5dabc86398ffcfc9cf4ff58d
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The prepare test includes validating the generated .index file.
Fixes: QTBUG-82716
Change-Id: I673cf39965c81cf02b8c68e0319b45c909664917
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-82687
Change-Id: I41219b8cdc45d7e779acfefbcd57ff352b56b88e
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|