summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.2.4' in qt/qttoolsv6.2.46.2.4Qt Submodule Update Bot2022-03-041-3/+3
| | | | | Change-Id: I7664443993ba048fe60b3bba9ae4ef4e15370f06 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.4' in qt/qttoolsQt Submodule Update Bot2022-03-011-3/+3
| | | | | Change-Id: Ic5f35c0a55fb2baed2e73b31476bc5112907468e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.4' in qt/qttoolsQt Submodule Update Bot2022-02-211-3/+3
| | | | | Change-Id: Ie700ce00a520368b7ab0352797f02ed4a4dbd53e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-02-171-3/+3
| | | | | Change-Id: I710dc800050809bcba772b17066f00033006add2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Compile repo with warnings as errorsKai Köhne2022-02-171-4/+0
| | | | | | | | | | | Let the compilation fail if new warnings are introduced for developer builds & supported compilers. Change-Id: I45653c1a0576cf7ef27c70bfe07de202e9311df3 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit f485079c843ed1d28e7f5546f468f2af94cdec69) Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Fix qt_create_translation to not remove .ts files on "clean"Joerg Bornemann2022-02-161-5/+18
| | | | | | | | | | | | | | | | | | | When running "make clean", .ts files were deleted. This must not happen, because .ts files are source files. Remove the .ts file from the OUTPUT of the custom command that updates the .ts file. Add a timestamp file instead that is touched upon updating the .ts file. In qt_add_translation we must depend on this timestamp file. If users call qt_add_translation, we don't depend on a timestamp file but directly on the .ts file like before. Fixes: QTBUG-96549 Change-Id: If93a6d1b47a33b29dc92fb987da2afcf8d29e895 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 153db2fedc5935d858d3adeb283ced5e4de5babf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add missing include for QStringDecoderShawn Rutledge2022-02-101-0/+1
| | | | | | | | Change-Id: I9de00b6367a4257bcbc5b7daa4e28313c6e45b28 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> (cherry picked from commit 563e679f4117cd0081161dd6aad18c19581be042) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: State Qt versions for when CMake commands etc. were introducedJoerg Bornemann2022-02-101-0/+6
| | | | | | | | | Task-number: QTBUG-100212 Change-Id: I512b382306b53ff517e46628443b673e250727ef Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 5ae3c2acc57d5729ba4d74b05ff8846fc3f86d46) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-02-101-3/+3
| | | | | Change-Id: I90b0994401242aaabddaaaf1d95f1a59e0711de4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qdoc: DocBook generator: Fix reimplements clause generationTopi Reinio2022-02-097-4/+53
| | | | | | | | | | | | | | | Fixes ASSERT: "actualNode" in file qttools/src/qdoc/docbookgenerator.cpp, line 4246 There was an apparent copy-paste error in DocBookGenerator::generateReimplementsClause(), causing an assert in DocBookGenerator::generateFullName(). Fixes: QTBUG-100316 Change-Id: I7ca6ba53fbf814a65e6f37ff91ee2aea7fa01643 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 8ccf60bfc25504c89ac632f1ddefecabf741fdee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix the 'generatedOutput' qdoc testAlexey Edelev2022-02-081-1/+9
| | | | | | | | | | | | Add the config-related subfolder to the 'qdocincludepaths.inc' path. Also add the missing dependency to Qt::qdoc target, since the test implicitly uses the qdoc binary. Fixes: QTBUG-100308 Change-Id: I2adc8be9d8718967ac2719d528e67bcae8f0ea3b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 74ed1a3aafcd8773be812d36838360961ee311db) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Switch examples to build as isolated sub-builds part 2Alexandru Croitor2022-02-051-1/+1
| | | | | | | | | | | | | | | | qt_examples_build_begin needs the EXTERNAL_BUILD flag to know that it's safe to build examples as ExternalProjects. It still won't do it in CI until we enable building examples as ExternalProjects for prefix builds. This is preparation for that. Task-number: QTBUG-90820 Change-Id: I4131ac5b6ea09b8f53752442b8edff8409ebaef7 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit a9a5b6a47e3f97b42f388f062af5b11cd543fbde) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-02-011-3/+3
| | | | | Change-Id: Ide07772ba6fd2b5efc63460c0f88ab9fe7e58130 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.2.4Jani Heikkinen2022-02-012-2/+2
| | | | | Change-Id: Ice7da7af6d0e3e9b70814b56060271804ebecb44 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Qt Designer: Enable the QWebEngineView, QQuickWidget plugins on WindowsFriedemann Kleint2022-01-281-0/+9
| | | | | | | | | | | | | | | Switch the Graphics API to OpenGL unless another value is set. [ChangeLog][Qt Designer] Qt Designer now sets the Graphics API to OpenGL in order to enable the QWebEngineView and QQuickWidget plugins. Task-number: QTBUG-94345 Task-number: QTBUG-100285 Change-Id: Iff55fe1a437191b56ed41168f243e6ec56a8648f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 89fef3e0671d6ff270e9b400f0d8696a46994453) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Assistant: Fix Werror=suggest-override warningKai Köhne2022-01-201-1/+1
| | | | | | | | | | | Fixes MinGW/gcc warning qttools/src/assistant/assistant/stdinlistener_win.h:49:10: error: 'virtual void StdInListener::run()' can be marked override [-Werror=suggest-override] Change-Id: Id4be15e82811630ab26942c9d889abe1685e083a Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit ad85ee214f9936b6a7b63762612dabc246d80866) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-01-201-3/+3
| | | | | Change-Id: I8b614f06b26b4878c0586b6432521513c0b409fc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Designer: Add more override modifiersKai Köhne2022-01-191-2/+2
| | | | | | | | | Amends c3c5b6f34fc Change-Id: I90225bc6052cc2d8574c83feb79cdec5ee44d603 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 0fa1bf36515884d0b9e1ac716f5d43943419a647) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* lupdate: Support numeric literal separatorsJoerg Bornemann2022-01-192-2/+9
| | | | | | | | | | | | | | | | | | | Numeric literals that use apostrophes were introduced in C++14 so this adds support for cases like: int d = 10'000'00; int x = 0xAF'FE; This patch allows just any number and combination of apostrophes in numeric literals and doesn't attempt to detect ill-formed literals. We assume, lupdate runs on code that has been accepted by a C++ compiler. Task-number: QTBUG-53326 Change-Id: I23bd9b4c676694dc69199e4a17a612a011449e61 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit c2d1163004078b98abc86318f45a6796aef18811) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-01-191-3/+3
| | | | | Change-Id: I65b15804c231aac67797f05f873097c1c4413867 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QPixelTool: Fix closing ul tag in aboutText()Ivan Tkachenko2022-01-131-2/+2
| | | | | | | | | | | | | | This issue was found by PVS-Studio static analyzer and posted on habr[1] in early 2021. This was clearly meant to be a matching closing tag. Amends 0285e3ad511882b3cfb87fc06ffbf5775c01437b [1]: https://habr.com/ru/company/pvs-studio/blog/542760/#opechatki Change-Id: Ibab5750e8f41e13052604c15885c8ecb8f0c98fe Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 6d14299db579503e89de0ea0188b54782bc9e627) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Designer: Mark methods as overrideKai Köhne2022-01-131-3/+3
| | | | | | | | | | | Fixes warnings with gcc on Windows: qdesigneraxwidget.h:70:11: error: 'virtual QSize QDesignerAxWidget::sizeHint() const' can be marked override [-Werror=suggest-override] Change-Id: Ie2cb37d3afba14cd08edff090175495599219398 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit c3c5b6f34fcc4a457c6b29373632705219a32763) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* qdoc: Avoid clang warning about possibly missing commaKai Köhne2022-01-071-1/+1
| | | | | | | | | | | Fixes clangcodeparser.cpp:1219:10: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation] Change-Id: Ifc5cb20b0f7f99d3851809b06a00551aa493a1b1 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit e218d53e4c8e986c5b25de86d668047d263648ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* designer: Fix MSVC warning about returning address of local variable or ↵Kai Köhne2022-01-051-7/+2
| | | | | | | | | | | | | | | | | | | | | | temporary std::reverse_iterator::operator*() returns by reference while QKeyValueIterator::operator*() returns by value, so MSVC is correct when it warns about returning the address of a local variable or temporary in (*itStop).second: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705\include\xutility(1582) : error C2220: the following warning is treated as an error C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705\include\xutility(1582) : warning C4172: returning address of local variable or temporary Avoid this by just iterating backwards. Amends 6ed8a22dd2756557954dc85052870c0894de06ba. Change-Id: I01ce7cb151efa61e8702686b3a463790869df72c Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> (cherry picked from commit a9084297f629423c64d571d7f7286d3c0e239247) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump copyright year to 2022Kai Köhne2022-01-054-4/+4
| | | | | | | Change-Id: I1b3f0d1b84f507e45728a00fa652d0db936cebca Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit bd8827cd95552372a5aca78a21210a46bddadc36) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-01-041-3/+3
| | | | | Change-Id: I3a13e40e98203884c3de4b1ec414139945add54b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* MSVC: Fix remaining warning size_t conversionsKai Köhne2022-01-041-1/+1
| | | | | | | | | | | | | Fixes warning src\linguist\shared\proitems.cpp(116): warning C4267: '=': conversion from 'size_t' to 'uint', possible loss of data Augments b34a39904c8bb03e Change-Id: Ic5d32b64c6491b231066ad5147d9f76d922f92fc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit a76a2e1dbb8410ccc2e916253363a8784b315090) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2022-01-031-3/+3
| | | | | Change-Id: Icf39f3d6cf8b8844d60e4f6aa7bdd58352c30e4f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qdoc: Ignore empty lines in the master qdocconf fileTopi Reinio2022-01-032-1/+4
| | | | | | | | | | | | | | | When compiling a master .qdocconf file either manually or programmatically, it's possible to end up with empty lines or a trailing newline in the file. In this case, QDoc fails with less-than-helpful error message. Ignore empty lines. Fixes: QTBUG-99409 Done-with: Luca Di Sera <luca.disera@qt.io> Change-Id: I5157b63bcdbcd65731615fc7bad388a2385d8cfb Reviewed-by: Luca Di Sera <luca.disera@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 18d293ab75b0b081fc6e236b1549ab83e714ed7d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Qt Designer: Fix crash when changing names in Object inspectorFriedemann Kleint2021-12-282-8/+3
| | | | | | | | | | | | | | Use QSortFilterProxyModel's sorting capabilities instead of sorting the children when building the model. This avoids rebuilding the entire model after changing a name and fixes a crash after changing the name in the object inspector and then clicking on another item instead of pressing Enter. Fixes: QTBUG-99404 Change-Id: I5c13ccfef446ed8491327fcf2ff5c19531e6c102 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit f764dc21cb298724a5d460d552a6cff96c995f36) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump version to 6.2.3Jani Heikkinen2021-12-182-2/+2
| | | | | Change-Id: I388aaa12f37f919783f53fa46b31ab2ede4cf3a8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-12-181-3/+3
| | | | | Change-Id: I059fcabfa68385f069590a74f210a84bc4fc7eb1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Qt Linguist: Fix 'QObject: Q_ASSERT the object type before calling a PMF'Kai Köhne2021-12-152-0/+7
| | | | | | | | | | | | Make sure you disconnect the signal, otherwise it will be triggered when the child widget is destroyed, while the editor is already half-destructed. Fixes: QTBUG-99232 Change-Id: I5556b6cc200a58010cab8fa2458b5c3604cbc783 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit ff2685d5a07f43b9618cb508ff193e6554e08cc0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Switch examples to build as isolated sub-buildsAlexandru Croitor2021-12-155-15/+15
| | | | | | | | Task-number: QTBUG-90820 Change-Id: I5ad7541596d39cb089f9af03b8a194b968659910 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit b87c3573c48666ec1aba018422ab22284a6117b2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-12-131-3/+3
| | | | | Change-Id: I39a0d46b3b4ff542a194475be67c08210db8edec Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-12-111-3/+3
| | | | | Change-Id: Ib6112dcb5ec1dc9545a385eda96ee60f9045d61b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-12-111-3/+3
| | | | | Change-Id: I560aecdd4ab4e53618e62b6aad2bff005e6634f5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-12-101-3/+3
| | | | | Change-Id: Ib3776b6a31ce2aee3949a19c60cf282fe5b68030 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add binary compatibility files for 6.2.0Milla Pohjanheimo2021-12-083-0/+62759
| | | | | | | | | | | Binary compatibility files added. Change-Id: I2949c246e8614a84a75a6f91463fca81abbf7533 Change-Id: I2949c246e8614a84a75a6f91463fca81abbf7533 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 9cd2095095843338970fb1d42c235b5da58126df) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Qt Designer: Fix storing of font familiesFriedemann Kleint2021-12-062-2/+2
| | | | | | | | | | | | | A new resolve flag for families was added in qtbase/97f73e957756753b09a778daf2ee8f0ddb97f746. Check it when saving fonts. Task-number: QTBUG-46322 Fixes: QTBUG-98916 Change-Id: Ibf232330fe46a7b3b14fee88ed697540990a2fdd Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit 743955d89426fd42a728b086b28534e1ec701269) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* qtdiag: Fix printing in hex in the rhi sectionLaszlo Agocs2021-12-021-1/+1
| | | | | | | | | No need for hexadecimal there. Change-Id: I5b9380f387bdedbf99933e749b58ebee4857558a Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 7eb1261f8091b30cbc1c71fe3704811febb52312) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-11-301-3/+3
| | | | | Change-Id: I6cbdcdcfeb1bd758291c4f26205661462962e3f6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-11-291-3/+3
| | | | | Change-Id: I2fdea60c1dd28c9384f7760cb9c6b2c682daefd8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-11-281-3/+3
| | | | | Change-Id: I3136beb6612d60547dcfd9345c3d16b0c9580861 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* lupdate: Silence MSVC's iterator deprecation warningsJoerg Bornemann2021-11-251-0/+3
| | | | | | | | | | | Classes in llvm derive from std::iterator. This derivation is deprecated and produces a wall of warnings when building with MSVC. Add the define that silences this warning. Change-Id: I2acaf1934d26af0627afcc863f07f09ab1a844c0 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit cc67e55efe705d4cdb7cf5f5f78c1ea71f52d613) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* lupdate: Work around offsetof problem when using clang parserOliver Wolff2021-11-251-0/+2
| | | | | | | | | | | | Not setting this define will result in errors like "error: constexpr variable '.' must be initialized by a constant expression" when clang is used with Windows SDK includes. Fixes: QTBUG-97380 Change-Id: If3e76065aa7f41ebe2c5fe122c378ef45ecce5bc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 286ea6d8fccedd7306f1bb602af673a50e7e3d68) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qttoolsQt Submodule Update Bot2021-11-091-3/+3
| | | | | Change-Id: I64825080a096c465ec0b05dbff3ba5d1c340818b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qdoc: Fix memory leak in Section::clear()Topi Reinio2021-11-061-14/+4
| | | | | | | | | | It is generally a bad move to set something to null before attempting to delete it. Change-Id: Icb08f281508583342bb6bd07cc01080748d0052a Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit f79bb22bf8cf383b91e229ec6eb59f547d7b8a0d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* qdoc: Fix heap-use-after-free and memory leak issuesTopi Reinio2021-11-067-57/+37
| | | | | | | | | | | | | | | | | | | | | | | | Some of the created nodes appear multiple times in QDoc's node tree. This caused issues with address sanitizer during deletion of the tree: Nodes were checked for their parent() node, and the parent node might have been deleted already. Implement a cleanup function that removes all children that do not report *this* node as their parent from the list of children - after this, the tree can be safely deleted by destroying the root node. Fix memory leak issues; a couple of potential leaks in ClangCodeParser caused by not freeing resources in all cases, and DocBookGenerator leaking a QFile instance per each generated file. Fixes: QTBUG-97627 Change-Id: If279b55ee24dc1b7291951ef11b7a26276df167c Reviewed-by: Luca Di Sera <luca.disera@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 02057fc029e3d2cc1808fe712fca84ccfc074f99) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Gradient editor: replace string-based connections with typed connectionsJarek Kobus2021-11-0516-421/+373
| | | | | | | | | | This fixes some already broken connection due to removal of some signals in Qt 6. Change-Id: I7dbe44c3d9307539530cd74c1f1658e2a58954c7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 6ab73adf460794c6b218da4bfd67e342fe83df8b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>