summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add changes file for Qt 5.12.1v5.12.15.12.1Antti Kokko2019-01-151-0/+59
| | | | | | | | Change-Id: I6edb216bb063f7794d12e1d2731b4f86f7e16227 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* windeployqt: Deploy the Qt Virtual Keyboard pluginsAndy Shaw2019-01-091-0/+1
| | | | | | | | The plugins contain some of the asian languages and handwriting plugins, so these need to be deployed as well. Change-Id: I16a03653daefb81c85907220ba50639bb3582df1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Bring the qcollectiongenerator tool backJarek Kobus2019-01-085-1/+138
| | | | | | | Deprecate it now and redirect it to qhelpgenerator. Change-Id: Iffda5c34c3d6833859c0fb155b52e8b42af02b1c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Assistant: Mark the readonly collection filesJarek Kobus2019-01-084-0/+16
| | | | | | | | | | | The qhc file may be installed in readonly location. Don't try to fix tables there, we leave it for the cached qhc file. Task-number: QTBUG-72174 Change-Id: I513c799d2b571a9dd9bc77b7c122e635c863fcff Reviewed-by: Kai Pastor <dg0yt@darc.de> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Merge remote-tracking branch 'origin/5.12' into 5.12.1Liang Qi2019-01-0820-72/+148
|\ | | | | | | | | | | | | Conflicts: qttools.pro Change-Id: Ibf247399306794b1d79ebbcd230b853896d0bc87
| * Bump versionKari Oikarinen2019-01-071-1/+1
| | | | | | | | Change-Id: I8ddc0630f221e7f2bcf1b7df52f2aeac3ab76e3a
| * QList/Tree/TableWidgetEdit: use correct default flagsChristian Ehrlicher2018-12-246-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | The AbstractItemEditor was using the default flags from an QListWidgetItem as the default values for QList/Tree/tableWidgetItem which is wrong because the different classes have different default flags. This lead to an inconsistent behavior during runtime. E.g. a QTableWidgetItem was not editable but during runtime it was editable. This fix adds a new function to retrieve the correct default flags dependending on the selected widget type. Change-Id: I96e1dec5a459a4d746b469bd773ddb7526e65357 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
| * winrtrunner: Do not accept fully wildcarded logging rules from environmentOliver Wolff2018-12-201-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an auto test fails in CI, it does another run using QT_LOGGING_RULES=*=true. For winrt builds this rule would enable extended logging for winrtrunner and the output would be flooded with winrtrunner specific information. Instead of confusing the users, we disregard the logging rules in winrtrunner if they do not specifically enable the application's logging so that CI runs will only show information that might be interesting to the user. Change-Id: If51a666315a2e33b83d6a7613a65ab4a152eddc4 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * wasm: fix finding clang and friendsLorn Potter2018-12-201-1/+1
| | | | | | | | | | Change-Id: Ie05b9896dc7cdb678e6cdc3e2b3caf6e6c2bb5f0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| * windeployqt: Replace typedef by usingFriedemann Kleint2018-12-192-3/+3
| | | | | | | | | | | | | | | | | | | | Fix the respective Clang-tidy warning: utils.h:85: warning: use 'using' instead of 'typedef' [modernize-use-using] as displayed in the Qt Creator issues pane. Change-Id: Ide04ff3bc426ec55b9cdcc1b511119089d6750d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Assistant: Hide Windows Context Help ButtonKai Koehne2018-12-181-0/+1
| | | | | | | | | | | | | | | | | | Do not show the "?" window button "in Preferences", "Print Preview", "Add Bookmarp dialogs". Assistant does not set any "what's this" information anywhere, so the mode is useless. Change-Id: I857159eb313315d197fb2e3bff058fca5d805d64 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
| * windeployqt: Simplify enabled/disabled modules option parsingFriedemann Kleint2018-12-121-14/+14
| | | | | | | | | | | | | | | | Use a simple vector of and use the mask bit from the qtModules array. Change-Id: I233b5226cce8dfe91018830328c268cf1d16104e Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * windeployqt: Fix some Clang warningsFriedemann Kleint2018-12-124-49/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | - Use range-based for - Remove else after return - Use member initialization - Dubious check of bool * - Prefer static QFileInfo::exists() - Use uninitialized struct QJsonParseError Change-Id: If2705d6829ba3186cafb068a2c083943d33d1c66 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * Merge remote-tracking branch 'origin/5.11' into 5.12Qt Forward Merge Bot2018-12-114-0/+32
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I0b3b98813053be4eaba2109e50bbd5258da209b7
| | * Merge remote-tracking branch 'origin/5.11.3' into 5.11Qt Forward Merge Bot2018-12-041-0/+32
| | |\ | | | | | | | | | | | | Change-Id: Ia8a70e88a738c968cbcfecbfc666f9ed55667f7a
| | | * Add changes file for Qt 5.11.3v5.11.35.11.3Antti Kokko2018-11-231-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + a2a0ff8676bce46ed1ae7c387cbcd2f5377a0e01 macdeployqt: Deploy plugins when -no-framework is used + 523b72743a40df3445e0ab7af421b60b5f76bc55 Doc: Fix language issues in Qt Help overview docs + d07e6b891e69c9ce4bed9e91c917d81d0d8a6ae1 macOS: Don't overwrite the dylibs with the DWARF copy + 10263f42de0d2d1fb731deb4213b76fa6c0acd0f Assistant: Fix a crash when removing the docs + ab73d888c4f41a0d0993abca18680cdcbd79b444 Bump version Change-Id: Ia42723d72cf643207902998fa3fbd2f354b58493 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
| | * | Update filesave.png iconsThiago Macieira2018-11-143-0/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | Matches qtbase b5d249f9538bf3dc44f11879c2244deb5a37bf97. Fixes: QTBUG-71012 Change-Id: I36203b7dac414e3eb9effffd15667415e7d133cd Reviewed-by: Lars Knoll <lars.knoll@qt.io>
| | * Bump versionOswald Buddenhagen2018-11-081-1/+1
| | | | | | | | | | | | Change-Id: I48f516bf78a03f592327ee42a70b33ace520b9d8
| * | distancefieldgenerator: Add help actionFriedemann Kleint2018-12-102-0/+15
| | | | | | | | | | | | | | | | | | | | | Add a help action launching the documentation page. Change-Id: I8c78ca53389faaac9e87ec116969d0002d9f1205 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* | | qdoc: Link buildversion field to navigation.landingpageTopi Reinio2019-01-021-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some modules, we use the 'buildversion' string to convey module-specific information such as license type(s). Linking the page helps users navigate to the detailed information displayed (or linked from) the landing page. Task-number: QTBUG-70801 Change-Id: I7f0f8b4d5bbb0306325264101e1478842b162863 Reviewed-by: Martin Smith <martin.smith@qt.io>
* | | qdoc: Don't include overridden functions in all-members listMartin Smith2019-01-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an override function is documented, it should appear in the class's all-members list, but the overridden function in the base class should not appear there. This update implements that. Change-Id: Iadc8188d84bc8697aa4a5ec24b7574f1389f27f5 Task-number: QTBUG-72723 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
* | | qdoc: Include inherited members in all-members listMartin Smith2019-01-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A refactoring update in qdoc stopped including the class's inherited members in its all-members list. This update corrects that problem. Change-Id: I62faa9f6c61e2dc437945acda6107794acd5ca13 Task-number: QTBUG-72357 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
* | | Move QML documentation example to QDoc testsPaul Wicking2018-12-237-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The import and types contained in the example ends up in reference overviews. This causes confusion among users. The example serves its purpose better as a QML project to generate documentation from as tests for QDoc. Moving the example to tests/auto/qdoc will exclude it from ending up in the online docs. This will also keep the git history cleaner than readding the same files as a separate commit later on. Task-number: QTBUG-43904 Change-Id: I6e080d50319f235916cbd8e1dda3da7dba1dccd1 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
* | | qhelpgenerator: Always return positive valuesKai Koehne2018-12-221-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While some OS allow negative return values, it's not supported everywhere. Also, negative values are often used for error handling in invocation API. In particular, we want to use execve in the qcollectiongenerator binary, but execve uses -1 to indicate a failure in the launching itself. Change-Id: Icf74e6d002088d7ea1de12d0705f08265396ce42 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | | Qt Designer: Generate global includes for custom widget pluginsFriedemann Kleint2018-12-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate #include <QtQuickWidgets/QQuickWidget> instead of #include "QtQuickWidgets/QQuickWidget" Task-number: QTBUG-72641 Change-Id: I6f2870bbe95ac582fb2137fa3540c79cfe61d06c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Doc: Update minimum qdocconfPaul Wicking2018-12-191-14/+8
| | | | | | | | | | | | | | | | | | | | | Turn the minimum qdocconf into copypasta material. Change-Id: I923831701f60f5a95b7708326b5bfd669b424edb Reviewed-by: Martin Smith <martin.smith@qt.io>
* | | Bump copyright year to 2019Kai Koehne2018-12-185-5/+5
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-72635 Change-Id: If5acb99bff8715101ab338a694b9f2d61e066ea3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | Add binary compatibility files for QtTools for Qt 5.12Milla Pohjanheimo2018-12-183-0/+60749
| | | | | | | | | | | | | | | | | | | | | Binary compatibility files added. Change-Id: I62bc7eb3f791ceab63b492dcf62d1111653ebb1c Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | | Try multiple llvm-config candidates when configuring QDocPaul Wicking2018-12-171-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As llvm-config may be installed as e.g. llvm-config-6.0 on certain systems, depending on which packages are installed, check them in order latest to oldest version supported. Task-number: QTBUG-65762 Change-Id: Ide2f25b5fa73b3da6ea16186aad09b2fec6f0494 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Replace error() with qtLog() in checks for libclang for QDocPaul Wicking2018-12-141-2/+2
| | | | | | | | | | | | | | | Change-Id: I606b0288d08ccb6a5fc19bc950aee161cb6a96c5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | | Port qdoc's libclang detection to the configure systemSimon Hausmann2018-12-126-21/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just an initial rough port with a custom config detection. More things can be refined in the future, for example turning libclang into a library to be used with QMAKE_USE. Fixes: QTBUG-72259 Change-Id: Iaf3c42f76b79bdfd07476173c2fd0f4060c11fea Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* | | Minor clean up in llvm detectionSimon Hausmann2018-12-121-1/+1
|/ / | | | | | | | | | | | | | | | | | | When calling llvm-config to determine the installation prefix, ignore output on stderr (possibly from the shell), to avoid confusing output when llvm-config is not even installed or in the PATH. Change-Id: I9534ffe90c20040972f3b5390f58936ac4839670 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* | Enable Windeployqt to package arm64 desktop appsThomas Miller2018-12-073-17/+50
| | | | | | | | | | Change-Id: I8ef5ca54488e3e5cd89bd5a6e7be4958c74fe60d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | windeployqt: Remove unused methodKai Koehne2018-12-071-18/+0
| | | | | | | | | | | | | | Amends 88e02bb0a9b97d6 Change-Id: Ifd614a0cd985ac695817b257830aa07de8041ee4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | winrtrunner: Pass logging rules set in the environment to the appOliver Wolff2018-12-078-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an auto test fails Coin tries to rerun the same test with logging enabled to get additional information. Instead of just enabling extended logging for winrtrunner we have to pass these rules to the application that is run by winrtrunner to be able to obtain the information. As we cannot set the application's environment from winrtrunner we write qtlogging.ini where the application expects it to be so that logging is enabled on startup. Change-Id: I238a083f6d499f5b6b5eadb43545a5857050a2e8 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* | assistant: Set error string when failing to openCollectionFile()Kai Koehne2018-12-061-2/+6
| | | | | | | | | | | | Task-number: QTBUG-72095 Change-Id: I13063afe493232db4c60c3dee686473a3f6e5804 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | winrtrunner: Remove double space from help outputOliver Wolff2018-12-061-1/+1
| | | | | | | | | | Change-Id: Iff537c005b1c11daffd5fbd3c4c9a2c406166cf6 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Merge remote-tracking branch 'origin/5.12.0' into 5.12Qt Forward Merge Bot2018-12-052-2/+69
|\ \ | | | | | | | | | Change-Id: Ia61820d18d28e3ee24ff0568e763f94e53bee193
| * | Qt Designer: Fix crash when reloading forms with resourcesv5.12.0-rc2v5.12.05.12.0Friedemann Kleint2018-11-261-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change qtools/548a75049efaa3f9b3087016e3e36cc9b4f23e2e caused icon/pixmap properties to leak when setting a null object on the property editor since the code removing the properties was not executed. Default to the active form window when trying to find a form window for the object in question and bail out with a warning if that fails. Fixes: QTBUG-71809 Task-number: QTBUG-68507 Change-Id: I3fd96dd9b72d822c47071286b641254530f1568d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * | Add changes file for Qt 5.12.0v5.12.0-rc1Antti Kokko2018-11-061-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | Done-with: Jarek Kobus <jaroslaw.kobus@qt.io> Done-with: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Change-Id: Iea3449af7d63402c4dfa33adac6f823cbfdfcebd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* | | distancefieldgenerator: Use capitalized text for actionsKai Koehne2018-11-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Follow the example of other Qt tools and use capitalized text for all actions. Change-Id: I6417a098d1601a10a73232334e5f5819095187f3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* | | Qt Linguist: Fix gcc 7.2 warnings about ambiguous elseFriedemann Kleint2018-11-293-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some missing braces to fix some ambiguous else clause warnings (introduced by foreach): shared/translatormessage.cpp: In member function 'void TranslatorMessage::addReferenceUniq(const QString&, int)': shared/translatormessage.cpp:76:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translatormessage.cpp: In member function 'void TranslatorMessage::addReferenceUniq(const QString&, int)': shared/translatormessage.cpp:76:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translatormessage.cpp: In member function 'void TranslatorMessage::addReferenceUniq(const QString&, int)': shared/translatormessage.cpp:76:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] cpp.cpp: In function 'void loadCPP(Translator&, const QStringList&, ConversionData&)': cpp.cpp:2330:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translator.cpp: In member function 'int Translator::find(const QString&, const QString&, const References&) const': shared/translator.cpp:387:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translator.cpp: In member function 'int Translator::find(const QString&, const QString&, const References&) const': shared/translator.cpp:387:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translatormessage.cpp: In member function 'void TranslatorMessage::addReferenceUniq(const QString&, int)': shared/translatormessage.cpp:76:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translator.cpp: In member function 'int Translator::find(const QString&, const QString&, const References&) const': shared/translator.cpp:387:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] shared/translator.cpp: In member function 'int Translator::find(const QString&, const QString&, const References&) const': shared/translator.cpp:387:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] Change-Id: I3ecf5f03514c25851a56cf66ced257c5aedd17d4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | | doc: Improve section about source encodings & lupdateKai Koehne2018-11-282-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UTF-8 is the default since quite some time, and the only alternative value that CODECFORSRC supports is UTF-16. Also, we don't support Visual Studio 2005 since ages. Change-Id: Ic03f70ea8f292668d1b59b9c9c97d21522b0720d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | | distancefieldgenerator: Preserve window sizeKai Koehne2018-11-283-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Do not always start app as maximized; instead, save the state between runs. Change-Id: I30fb61e4b46a230ff1eb6fb93ef89df037a6afb0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | distancefieldgenerator: Add command line interfaceKai Koehne2018-11-283-18/+33
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-72052 Change-Id: I52aa7081334b2515e670373c7975a9ec2bb7c00b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | distancefieldgenerator: Fix crash in select actions for empty documentKai Koehne2018-11-281-17/+12
| | | | | | | | | | | | | | | | | | Fixes: QTBUG-72051 Change-Id: Ib3862f8d592bcab54ee72cc87c4e7dbc213f1e87 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | distancefieldgenerator: Add About, About Qt dialogsKai Koehne2018-11-273-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follows the pattern of all other user visible GUI tools we provide. Change-Id: I9dce96bd3b3e65bbf625177eabcc06051bcb0551 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* | | Fix documentation for cacheDirectoryKai Koehne2018-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "collection" and "default" are alternatives. In Qt 4, the documentation therefore used '|' for separation, the '>' character was - probably by mistake - introduced in mass commit 7727e2075. Anyhow, the effect of base="default" is the same as not setting the attribute at all, so I guess this is what most people should do, and we should also show as example. Change-Id: Idb0ce083dedae7b2cda5f45eef2e5ab2f8ae3ab0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | Doc: QDoc Manual: Clarify the use of \printuntil without an argumentTopi Reinio2018-11-161-0/+3
| | | | | | | | | | | | | | | | | | Change-Id: I204884f38b7993991469c51bc45a3a6087bb49e9 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | | qdoc: Skip section headers with no content on C++ reference pagesTopi Reinio2018-11-151-49/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the section-related refactoring, QDoc sometimes produced section headers (e.g. '<h2>Property Documentation</h2>', even though the class didn't have any properties. Output the section header only once we know there is something to generate under that section. Task-number: QTBUG-71792 Change-Id: I09948798883468c4bca15b3cdcf6703f05cf183f Reviewed-by: Martin Smith <martin.smith@qt.io>