summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix build without openglMikko Gronoff2022-11-091-1/+3
| | | | | | | | | Fixes build failure: "src/charts/chartpresenter_p.h:19:10: fatal error: private/glwidget_p.h: No such file or directory #include <private/glwidget_p.h>" Change-Id: I4a5f39bdcea5fc1871daed1300498497e159cf02 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-11-081-3/+3
| | | | | Change-Id: Ibd210ca3599523b2f75083b0aad72e854299db7c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-11-031-3/+3
| | | | | Change-Id: Iae2c16a315d135a383551c4b6e30e3b2a3db5ee5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-11-011-3/+3
| | | | | Change-Id: If95f7e11ffd23a849814bdf614f6b20b3e454021 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Enable syncqt cppAlexey Edelev2022-10-311-0/+2
| | | | | | Change-Id: I0e8033d36c804f0f759180cde46192d4b731f025 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-10-261-3/+3
| | | | | Change-Id: Ieb0c053bbc714193a9758b93e7dda3a9adf7fdbe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-10-191-3/+3
| | | | | Change-Id: I32ee917de7aa445b024af1bc9eff6bb46e9138cc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Replace usages of Q_CLANG_QDOC with Q_QDOCLuca Di Sera2022-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | To allow the user to customize the C++ code that QDoc sees, so as to be able to work-around some limitations on QDoc itself, QDoc defines two symbols: Q_QDOC and Q_CLANG_QDOC, both of which are "true" during an entire execution of QDoc. At a certain point in time, QDoc allowed the user the choice between a custom C++ parser and a Clang based one. The Q_QDOC symbol would always be defined while the Q_CLANG_QDOC symbol would be defined only when the Clang based parser was chosen. In more recent times, QDoc always uses a Clang based parser, such that both Q_CLANG_QDOC and Q_QDOC are always defined, making them equivalent. To avoid using different symbols, and the possible confusion and fragmentation that derives from it, all usages of Q_CLANG_QDOC are now replaced by the equivalent usages of Q_QDOC. Change-Id: Ia6d0d1601dceb1b946d2d6226dc2912db8e4304e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-10-121-3/+3
| | | | | Change-Id: I3a82ae752cb55b1a7a24e117ce7914826ebd3bbc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Port from container::count() and length() to size() - V4Marc Mutz2022-10-1085-1608/+1608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a semantic patch using ClangTidyTransformator as in qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8, but extended to handle typedefs and accesses through pointers, too: const std::string o = "object"; auto hasTypeIgnoringPointer = [](auto type) { return anyOf(hasType(type), hasType(pointsTo(type))); }; auto derivedFromAnyOfClasses = [&](ArrayRef<StringRef> classes) { auto exprOfDeclaredType = [&](auto decl) { return expr(hasTypeIgnoringPointer(hasUnqualifiedDesugaredType(recordType(hasDeclaration(decl))))).bind(o); }; return exprOfDeclaredType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes)))); }; auto renameMethod = [&] (ArrayRef<StringRef> classes, StringRef from, StringRef to) { return makeRule(cxxMemberCallExpr(on(derivedFromAnyOfClasses(classes)), callee(cxxMethodDecl(hasName(from), parameterCountIs(0)))), changeTo(cat(access(o, cat(to)), "()")), cat("use '", to, "' instead of '", from, "'")); }; renameMethod(<classes>, "count", "size"); renameMethod(<classes>, "length", "size"); a.k.a qt-port-to-std-compatible-api V4 with config Scope: 'Container'. Change-Id: I8187f4b3a16ff78f2a5e5a9158d9437f06a43252 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-075-8/+8
| | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: Iae5ffa3c7a961e8542f2d8df4a5b09dfeaffb8b2 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-10-041-3/+3
| | | | | Change-Id: Iea017d3a334f3179f882482cd1883c5494cb43ea Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-10-031-3/+3
| | | | | Change-Id: I77635356f598a91465f03dc1509bbd7f702f7eb2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-09-301-3/+3
| | | | | Change-Id: Ie5ad059412430e37ed21af78e88d3572a94dce50 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-09-271-3/+3
| | | | | Change-Id: Ia430147fdddc0eb187d7dba7ffcfa1817c649943 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-09-231-3/+3
| | | | | Change-Id: I2f7d251b5b7e79c27a573b1eca765e2875dbc0b5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add qt_class pragma to qchartglobal.hAlexey Edelev2022-09-201-0/+4
| | | | | | | | This makes this header self-contained. Change-Id: I384d32b4eade95a3aaa31f66986f6025ad4a3694 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-09-161-3/+3
| | | | | Change-Id: I2c74200db8a884a7d51867d0f68c202ce30f86ac Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Remove usages of the second argument of a "\page" commandLuca Di Sera2022-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The "\page" command for QDoc, used to construct a standalone documentation page in the output documentation of a project, was able to take a second argument, apart from the first argument representing the name for the generated documentation page, that roughly represented the type of the page that was to be generated. This second argument was not actually used by QDoc, such that it had no meaningful effect. QDoc was recently modified to not support this second argument, internally, and officially removed its use. For technical legacy reason, QDoc will still support the usage of a second argument for a "\page" command, albeit it will do nothing, as before. To avoid confusion for future readers who might not be aware of the history of the "\page" argument and that will not find an explanation in QDoc's documentation anymore, the usages of the second argument in "\page" commands are now removed. Change-Id: Ied7338d7726a128d54d4e5bf7a57715030d1f3f4 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* void tst_QValueAxis::dynamicTicks: verify qWaitForWindowExposed()Edward Welbourne2022-09-071-1/+1
| | | | | | | | | There's little point continuing with the rest of the test if the window didn't get exposed; and the function is declared [[nodiscard]], so this eliminates a g++ warning. Change-Id: Ia71db449cce0f8eae20cf3f849d2d531f09566c4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Mark various test methods as overridesEdward Welbourne2022-09-075-23/+23
| | | | | | | | | The test classes are based on test-base-classes that make some basic methods virtual, so g++ warns about the overloads not being declared as such. Change-Id: I1c2787c77adafcdbb7e9c56f6b5fcc91a832771b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-09-021-3/+3
| | | | | Change-Id: I08da9128b084b42d44ad438bb232b9843e1f264f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-08-301-3/+3
| | | | | Change-Id: I2ac126882893bef21a8ef971c636b36014acac4b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-08-251-3/+3
| | | | | Change-Id: I417df0ee34af7f021f4220df9617cac3442bb4a2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-24112-112/+112
| | | | | | | Task-number: QTBUG-105718 Change-Id: I98da78de677349b0e4cdf8e8d988df7bb3990ddd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Fix superfluous ;Kai Köhne2022-08-231-1/+1
| | | | | | | | | | Fixes qxyseries.cpp:511: (qdoc) warning: Can't link to ';' Pick-to: 6.2 6.3 6.4 Change-Id: Ica73f37068a826c862a8b6de3bbbd4682249fa7c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Lukas Kosinski
* Remove Cpp.ignoretokens from .qdocconfKai Köhne2022-08-221-4/+0
| | | | | | | | qdoc's new clang backend does not use Cpp.ignoretokens anymore. Task-number: QTBUG-104903 Change-Id: I2f6e25eab0bf757e0e5b42a4a5831d3a705a4b7d Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-08-201-3/+3
| | | | | Change-Id: Icf6f6ef7746ba8ea21311719df85e6375cfcee92 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Use QWidget::activateWindow() instead of QApplication::setActiveWindow()Tor Arne Vestbø2022-08-182-2/+4
| | | | | | | | | The latter is meant for the internal window activation machinery in QtWidgets and should not be called by user code. Pick-to: 6.4 Change-Id: Id71420d5df62186c0ea99f45b69c999f65dcad48 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-08-161-3/+3
| | | | | Change-Id: Ic7869704fadac18350a3c07f1f42f8f8b1efb924 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Piechartcustomization: add function that changes widgets positionElias Hautala2022-08-152-4/+45
| | | | | | | | | | | | | Adds function that changes widgets position on layout based on the windows aspect ratio. Before this the chart was unreadable and settings could not be fully seen when using the example on Android in portrait. Fixes: QTCREATORBUG-27650 Pick-to: 6.2 6.3 6.4 Change-Id: Ieffbd80ca52131b27a524084d8cc81b3acfa335f Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Jani Korteniemi <jani.korteniemi@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-08-121-3/+3
| | | | | Change-Id: Idea58091c3c4932523ccbbf204a428b4f1beba01 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-07-281-3/+3
| | | | | Change-Id: I19e7dbe0befdf3de4acc34482fa9e17b4b33e120 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-2743-43/+43
| | | | | Change-Id: If82067ad0bbfca620da4eb01dfd738563351df19 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-07-191-3/+3
| | | | | Change-Id: Ib3bdb0fe214f749b62f149777b20622d712b26bb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add proper 'tst_' prefix to unit testsMichal Klocek2022-07-1931-31/+31
| | | | | | | | | This was overlooked during cmake port as old qmake script was prepending the prefix scriptwise. Pick-to: 6.4 6.3 6.2 Change-Id: Iec054fd0dd53f940bbd3c771b42968d7ea51ea5e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-07-151-3/+3
| | | | | Change-Id: I48b3a40e726a794cfd28b390f59042985df6d994 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-07-131-3/+3
| | | | | Change-Id: I46f2c4d71573c6598bec91ec2f3aacf7e533e664 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add license headers to cmake filesLucie Gérard2022-07-08113-0/+345
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I47400c953dbec676442d195cc32aba55c590741e Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-06-241-3/+3
| | | | | Change-Id: Id3280a8e182801c032b48e04d1b31cccdeb77143 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* coin: Prepare for using qt-configure-module in instructionsAlexandru Croitor2022-06-241-3/+8
| | | | | | | | | | | When using qt-configure-module, we need to check if widgets feature is disabled with configure-style syntax as well. Pick-to: 6.2 6.3 6.4 Task-number: QTQAINFRA-4357 Task-number: QTQAINFRA-4815 Change-Id: Ie61e4f1022875b40d8cabd81ee1eb12eb7563795 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-06-211-3/+3
| | | | | Change-Id: I9faea3411052139f2c04de36e71afec0e235f564 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* unblacklist passing tests 2022Anna Wojciechowska2022-06-201-2/+0
| | | | | Change-Id: I21e36fb1f36185678ef4f8c9839192258355dd46 Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-16861-24571/+1744
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ibb797d52859b5c504f7300f4a5dc956a7b44ac11 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix axis vanishing with specific valuesJere Tuliniemi2022-06-142-2/+2
| | | | | | | | | | Charting values 1000000000000 and 1000000000001 with QValueAxis would not work since qFuzzyCompare fails with those values. Pick-to: 6.2 5.15 Fixes: QTBUG-102392 Change-Id: I06dd9b1a86da97d7cc5a59c7fd3696a8165c6205 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Bump version to 6.5.0Jani Heikkinen2022-06-131-1/+1
| | | | | Change-Id: Ic68cfac227cb4575a6a640cbe94e5e106f2f0d1f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-06-131-3/+3
| | | | | Change-Id: Ib43525e73ba95ba40cce679e8606071f89a186ba Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Improve performance on QXYModelMapperTomi Korpipaa2022-06-131-13/+14
| | | | | | | | | | | | | Remove unused variable, which is populated by calls to QXYSeries points() in a loop. Additionally add variables for column() and row() to avoid repeated calls to those. Pick-to: 5.15 6.2 6.3 6.4 Fixes: QTBUG-99190 Change-Id: I3659a571ff7ef57c3db693c599f35f15227201ea Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-05-311-3/+3
| | | | | Change-Id: Ifb87b5c5abdda634b1943e927d9050d7d8378238 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2022-05-271-3/+3
| | | | | Change-Id: Idf8c6b29f8ffa5e301ec8e942307e96b77065b98 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>