summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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. Change-Id: Iec054fd0dd53f940bbd3c771b42968d7ea51ea5e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 3800509bc46de0d82040e22cc3e99534b194c5c9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Ensure to package qml test files as test resourcesAssam Boudjelthia2022-05-3059-1/+6
| | | | | | | | | | | | To ensure the qml files are available on device at runtime, also move the qml files to "data" folder. Task-number: QTBUG-88846 Change-Id: I9f3922dfd4ff33b44393d508c45134c2108ff5e8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 0637828ae93f9cba1164c56ace4512f7ff26712d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Android: ignore some failing tests in qtchartsAssam Boudjelthia2022-05-305-0/+28
| | | | | | | | | | | | | | Ignore those tests to allow enalbing CI tests and fix them one by one after that. Task-number: QTBUG-102723 Task-number: QTBUG-102722 Task-number: QTBUG-102725 Change-Id: I38aff97e7c73460ee27cd1674180e9e95b4a9ae1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 8623d04148129af1394328685e5c655247cafb6e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Revert "Blacklist: test cases blacklisted in example:"Pasi Petäjäjärvi2022-04-011-175/+0
| | | | | | | | | | This reverts commit cb195f592daee81778ae963bbb38274946d7e492. Reason for revert: Should not have been merged Task-number: QTBUG-101517 Change-Id: I614407846ed646a0fedc5215ee93917cbecadb91 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Blacklist: test cases blacklisted in example:CI Insignificant Platforms Monitor Bot2022-03-071-0/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - tst_valueaxis_1_3::compile on qnx - tst_chartview_1_1::compile on qnx - tst_valueaxis_1_4::compile on qnx - tst_chartviewsignals::compile on qnx - tst_pieseries_1_1::compile on qnx - tst_categoryaxis_1_4::compile on qnx - tst_barseries_2_0::compile on qnx - tst_pieseries_1_3::compile on qnx - tst_chartviewsignals_1_2::compile on qnx - tst_valueaxis_1_1::compile on qnx - tst_valueaxis_1_2::compile on qnx - tst_xyseries_1_4::compile on qnx - tst_pieseries_2_0::compile on qnx - tst_valueaxis_2_0::compile on qnx - tst_valueaxis::compile on qnx - tst_boxplotseries_1_4::compile on qnx - tst_chartview_1_4::compile on qnx - tst_barcategoryaxis_1_4::compile on qnx - tst_barseries_1_4::compile on qnx - tst_barcategoryaxis_1_3::compile on qnx - tst_pieseries_1_4::compile on qnx - tst_xyseries_2_0::compile on qnx - tst_barseries_1_3::compile on qnx - tst_boxplotseries_2_0::compile on qnx - tst_chartviewfunctions_1_2::compile on qnx - tst_xyseries_1_3::compile on qnx - tst_barseries::compile on qnx - tst_chartviewsignals_1_3::compile on qnx - tst_barcategoryaxis_1_2::compile on qnx - tst_barseries_1_2::compile on qnx - tst_chartviewfunctions::compile on qnx - tst_chartviewfunctions_1_1::compile on qnx - tst_categoryaxis_2_0::compile on qnx - tst_barseries_1_1::compile on qnx - tst_chartviewsignals_1_1::compile on qnx - tst_categoryaxis::compile on qnx - tst_xyseries::compile on qnx - tst_barcategoryaxis_1_1::compile on qnx - tst_boxplotseries_1_3::compile on qnx - tst_chartview::compile on qnx - tst_chartviewfunctions_2_0::compile on qnx - tst_barcategoryaxis::compile on qnx - tst_categoryaxis_1_1::compile on qnx - tst_xyseries_1_1::compile on qnx - tst_chartviewsignals_2_0::compile on qnx - tst_boxplotseries::compile on qnx - tst_chartview_2_0::compile on qnx - tst_chartview_1_3::compile on qnx - tst_chartviewsignals_1_4::compile on qnx - tst_categoryaxis_1_3::compile on qnx - tst_xyseries_1_2::compile on qnx - tst_barcategoryaxis_2_0::compile on qnx - tst_chartviewfunctions_1_4::compile on qnx - tst_chartviewfunctions_1_3::compile on qnx - tst_pieseries_1_2::compile on qnx - tst_categoryaxis_1_2::compile on qnx - tst_chartview_1_2::compile on qnx - tst_pieseries::compile on qnx Task-number: QTBUG-101517 Change-Id: I781edfca5582aa28e870b568ccea95ff2031869f Reviewed-by: CI Insignificant Platforms Monitor Bot <ci_insignificant_platforms_monitor_bot@qt.io> (cherry picked from commit 082fc020c87a000fd41fadf1f5579cb6a08e113b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Re-enable cmake build test for qtchartsJuha Vuolle2022-01-122-7/+37
| | | | | | | | Task-number: QTBUG-92967 Change-Id: Ibab74adf02eefed290b60ed046172d728ab72de9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 479e24911f3b6e3bba4da2335ad77f346b31d387) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CMake: Bump almost all cmake_minimum_required calls to 3.16Alexandru Croitor2021-09-221-1/+1
| | | | | | | | | | | | | | Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Task-number: QTBUG-95018 Change-Id: I7c37c68825529e0c64600beee6607ee91d3a54dd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 9cd344ca47e0eb4986891a76e1fb7bf01d77e70c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Display selected points regardless of QXYSeries::lightMarker()Lukas Kosinski2021-08-191-2/+2
| | | | | | | | | | | | | | | | | | Selected points needs to be displayed regardless of the visibility of other points. It was correctly implemented when not using light markers concept, but it didn't work correctly with QXYSeries::lightMarker() set to null image and valid QXYSeries::selectedLightMarker(). The fix was to change some of the conditions in linechartitem.cpp, splinechartitem.cpp and scatterchartitem.cpp. There was also a change added to scatterchartitem to use QXYSeries::pointsVisible() setting. Task-number: QTBUG-89445 Change-Id: I6010bbf6b6f670f6b0694a7612d22e353d320154 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 1ba0ef016e9fef13fe35235cac208d0a762b324e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port charts to new property registration systemFabian Kosmale2021-06-0330-77/+0
| | | | | | Change-Id: I3d24eb8e5c0fdb718971535c2d2126dcf67a660f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Fix QCOMPARE of deleted object pointers in qpieseries autotestMiikka Heikkinen2021-05-311-3/+3
| | | | | | | | | | QCOMPARE no longer allows comparing deleted object pointers, as it tries to convert the object pointer to a meaningful string, so cast the compared pointers to qint64 first. Change-Id: I9a476c10e5425c2ee7a7b4c90b5ecaaa9139923a Fixes: QTBUG-94084 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* CMake: remove dependency to OpenGL in testsSamuli Piippo2021-05-1438-76/+0
| | | | | | | | | Not all tests need dependency to OpenGL, remove it so tests case be build also when OpenGL is disabled in QtBase. Change-Id: I13034160039a829ca862220262b0af8774582434 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Remove left-over .pri filesJoerg Bornemann2021-05-051-7/+0
| | | | | | Task-number: QTBUG-88742 Change-Id: I95eef560adfc2bbcd4b9ab42f76f0bb72afdedee Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove qmake project filesJoerg Bornemann2021-05-0365-1025/+0
| | | | | | | Task-number: QTBUG-88742 Change-Id: I49c59fc00a32e11fd27bad26e4206f06e91d3fa9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Rename ambiguous test nameKai Köhne2021-03-311-1/+1
| | | | | | | | | | | | | | | | | | qml is an ambiguous target name, and conflicts with the qml tool in a top-level build: CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:28 (add_executable): add_executable cannot create target "qml" because another target with the same name already exists. The existing target is an executable created in source directory "C:/dev/qt/6.1/src/qtdeclarative/tools/qml". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): qtbase/cmake/QtTestHelpers.cmake:214 (qt_internal_add_executable) qtcharts/tests/auto/qml/CMakeLists.txt:7 (qt_internal_add_test) Pick-to: 6.1 Change-Id: Idc3d3d6a689f46825886a7a3cf58e6d7ac215829 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix manual tests for Qt 6Miikka Heikkinen2021-01-123-2/+6
| | | | | | | | | | | Added missing Qt::Quick library to CMakeLists.txt in manual tests that were missing it. Also fixed the Loader use in qmlchartproperties manual test. Change-Id: Ib2fe70c0ba755feb73dfbcfe6b80984d620182c0 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Remove superfluous checks from test build configMichal Klocek2021-01-072-6/+0
| | | | | | | | | Those checks are not needed since all required configs are in place. This will ends up in better looking auto-generated test cmake config files. Change-Id: I98390b3d9d11269473794923e9426323740f4208 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add cmake buildMichal Klocek2021-01-0677-0/+1933
| | | | | | Task-number: QTBUG-89091 Change-Id: Ie511e6bc262f197b2c21e52ec7696a0d50e06d18 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Do not use include with error, prepare for cmakeMichal Klocek2020-12-0843-145/+44
| | | | | | | | | Reporting errors for every single include does not make so much sense and it complicates cmake port (adds a need for lot of extra #special case). Change-Id: I42cf4d7366798caaba5fd6729691051909a5a0c1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Use qtConfig, prepare for cmake 1/2Michal Klocek2020-11-161-1/+1
| | | | | | | | Use qtConfig for opengl otherwise cmake support scripts will not handle it. Change-Id: I5a52ce91cd81ff82eca6e8d6c8b9e371a5294ec8 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Remove charts namespace for Qt6Michal Klocek2020-11-0650-67/+67
| | | | | | | | | This auto refactor to remove charts namespace, just use qt one. [ChangeLog] Use QT_NAMESPACE as other modules. Change-Id: I7722ed2ff5cd84c594ea96db15e5df50a24f06b4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add datetimeaxis to configure systemMichal Klocek2020-11-066-14/+13
| | | | | | | This handles also qreal as float detection. Change-Id: I6b975f487f4d244849c306a703e5f25172acec8e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add configure systemMichal Klocek2020-11-053-4/+4
| | | | | | | | | Adds configure system to charts. Make basic types as configure features. By default build all types. Change-Id: I00992555de377589cb522d471ad81f30499f93f3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Update dependenciesFriedemann Kleint2020-10-309-459/+459
| | | | | | | Fix some warnings about deprecated API. Change-Id: Ic3a454dc5045a6126c3c8460700a2fce3c37352e Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Add explicit cast to allow template comparison to work properlyKeith Kyzivat2020-10-221-1/+1
| | | | | | | | | | | The Qt CI Compiler no longer recognizes that SetList can be cast to QList<QCandlestickSet *>. This adds an explicit cast to make it clear to the compiler how to cast it. Change-Id: I50b0cd27e08d40eec09d74e82db7b2f3f004766f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix removed calls to insertMultiMichal Klocek2020-08-145-8/+8
| | | | | | | Use QMultiMap, QMulitHash instead. Change-Id: I0782aa189a4465619757cb8204189bda888d641a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add ; to Q_UNUSEDLars Schmertmann2020-06-262-4/+4
| | | | | | | | This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I0d9e3a48056294137f1465f091802b4b7c32c8bf Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Use QList instead of QVectorJarek Kobus2020-06-264-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notice the following API changes: -void QXYSeries::replace(QVector<QPointF> points); +void QXYSeries::replace(const QList<QPointF> &points); -bool QAbstractBarSeries::append(QVector<QBarSet *> sets); +bool QAbstractBarSeries::append(const QList<QBarSet *> &sets); -void QAbstractBarSeries::barsetsAdded(QVector<QBarSet *> sets); +void QAbstractBarSeries::barsetsAdded(const QList<QBarSet *> &sets); -void QAbstractBarSeries::barsetsRemoved(QVector<QBarSet *> sets); +void QAbstractBarSeries::barsetsRemoved(const QList<QBarSet *> &sets); -bool QBoxPlotSeries::append(QVector<QBoxSet *> boxes); +bool QBoxPlotSeries::append(const QList<QBoxSet *> &boxes); -bool QBoxPlotSeries::append(QVector<QBoxSet *> boxes); +bool QBoxPlotSeries::append(const QList<QBoxSet *> &boxes); -void QBoxPlotSeries::boxsetsAdded(QVector<QBoxSet *> sets); +void QBoxPlotSeries::boxsetsAdded(const QList<QBoxSet *> &sets); -void QBoxPlotSeries::boxsetsRemoved(QVector<QBoxSet *> sets); +void QBoxPlotSeries::boxsetsRemoved(const QList<QBoxSet *> &sets); -bool QPieSeries::append(QVector<QPieSlice *> slices); +bool QPieSeries::append(const QList<QPieSlice *> &slices); -QPieSlice *QPieSeries::append(QString label, qreal value); +QPieSlice *QPieSeries::append(const QString &label, qreal value); -void QPieSeries::added(QVector<QPieSlice *> slices); +void QPieSeries::added(const QList<QPieSlice *> &slices); -void QPieSeries::removed(QVector<QPieSlice *> slices); +void QPieSeries::removed(const QList<QPieSlice *> &slices); These should be source compatible changes. Task-number: QTBUG-84469 Change-Id: I153796e9d8244c8e22819993ef26aa91e7b71f99 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
* Use QList instead of QVector in qtcharts testsJarek Kobus2020-06-2316-54/+54
| | | | | | Task-number: QTBUG-84469 Change-Id: I29790393aa11650842acd7b7c522554540270a18 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
* Remove qWaitForWindowShown hack, use qWaitForWindowExposed insteadVolker Hilsheimer2020-04-202-13/+2
| | | | | | | | The method has been deprecated since Qt 5.0. Change-Id: I59587833d8d31de9345b3005014b06ce3dd53973 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Skip failing QML tests in Qt 6Friedemann Kleint2020-04-0630-0/+77
| | | | | | | | | | | | | | | QML tests in namespaced builds started to fail with g++ 9.2 when updating to qtdeclarative/fb3552e0d152e963d74cccc7b36f4e618638b722: FAIL! : example::tst_qml-qtquicktest BarSeries::test_axes() Uncaught exception: Unknown method return type: QAbstractAxis* Loc: [/home/qt/work/qt/qtcharts/tests/auto/qml-qtquicktest/tst_barseries.qml(55)] Skip the tests for now. Task-number: QTBUG-83320 Task-number: QTBUG-74273 Change-Id: I97c4af03b2ad429533fa8db227addf0ef5356a5b Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Update dependenciesFriedemann Kleint2020-04-066-7/+7
| | | | | | | | | qtbase: Adapt to OpenGL split (a64f4b405222527a72fb087226801c52ddf54ef0), add missing Q_MOC_INCLUDE, adapt examples to changed signals. Task-number: QTBUG-74273 Change-Id: I96b7bb67c0403e3aa72debe16fd9965c70f5c806 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-12-072-4/+12
|\ | | | | | | Change-Id: I2b92426d958965b3f74be7cb21b1d4fb61543104
| * Place minor tickmarks on horizontal axis correctlyPaul Olav Tvete2019-12-052-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like top and bottom was accidentally swapped when the dynamic tickmarks feature was added. This resulted in the minor tickmarks being drawn on the opposite edge of the canvas from the axis and the major tickmarks. Also modified the manual test to make drawing the grid optional, so the position of the tick marks can be seen more easily. Fixes: QTBUG-79349 Change-Id: Ia25c656d3d66ee0e6dd908504ec5c81cd2555bde Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-11-2614-173/+173
|\| | | | | | | Change-Id: If708fa111c6ea70e5fdaae3f9be40210fb41f86a
| * Avoid initializing QFlags with 0 or nullptrFriedemann Kleint2019-11-2514-173/+173
| | | | | | | | | | | | | | It is being deprecated. Change-Id: I1eafbce147e05028c93830bb882611d9eea58586 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Update dependencies on 'dev' in qt/qtchartsQt Submodule Update Bot2019-11-013-3/+0
|/ | | | | | | | Also include build fix for recent qtbase now that QList == QVector. Fix a logic error in qlgend.cpp uncovered by the switch. Change-Id: I05eda954c28bf9928811122afdd0a7cf92bfb1e6 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/5.13' into 5.14v5.14.0-beta2Simon Hausmann2019-10-161-1/+10
|\ | | | | | | Change-Id: I2570b3c739857b2fc4ffb26e9ccf1101f2803d87
| * Fix removing rows from candlestick model mapperMiikka Heikkinen2019-10-151-1/+10
| | | | | | | | | | | | | | | | | | There is no guarantee removed rows are in correct order or that they are sequential, so don't assume so. Fixes: QTBUG-79188 Change-Id: I6ee6851ce881872d01486c600d4204faeb162d87 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-08-031-0/+2
|\| | | | | | | Change-Id: I6a227dfd1762f3c551c373cceb0d8b66bd061cde
| * BLACKLIST dynamicEdgeSeriesChange for msvc-2019Heikki Halmet2019-07-301-0/+2
| | | | | | | | | | | | Task-number: QTBUG-77240 Change-Id: I2bbfa696db6528257d911b94e6c56759dd32beb3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | unblacklist passing testsDaniel Smith2019-06-251-1/+1
| | | | | | | | | | | | | | | | These tests have not failed on the removed platforms for at least 60 days Task-number: QTBUG-76608 Change-Id: I5e084eca4b723cbf63b35dbb4546d57135dc8f59 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-06-039-112/+203
|\| | | | | | | Change-Id: I4d0a887c45dbeb23f7bd826d1e90c823323eb198
| * Fix deprecation warnings about QtCharts::setAxisX(), setAxisY()Friedemann Kleint2019-05-287-58/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use new API, fixing warnings like: tst_qchart.cpp:343:34: warning: 'void QtCharts::QChart::setAxisX(QtCharts::QAbstractAxis*, QtCharts::QAbstractSeries*)' is deprecated [-Wdeprecated-declarations] ... tst_qchart.cpp:361:34: warning: 'void QtCharts::QChart::setAxisY(QtCharts::QAbstractAxis*, QtCharts::QAbstractSeries*)' is deprecated [-Wdeprecated-declarations] ... Some test appear to be relying on the axes being removed in a certain order. Change-Id: I86fab08d661afcd1087a55f847133a9e90d758f9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * Tests: Fix deprecation warnings about QtCharts::axisX(), axisY()Friedemann Kleint2019-05-282-43/+49
| | | | | | | | | | | | | | | | | | | | | | | | Use new API, fixing warnings like: tst_qchart.cpp:254:73: warning: 'QtCharts::QAbstractAxis* QtCharts::QChart::axisX(Q Charts::QAbstractSeries*) const' is deprecated [-Wdeprecated-declarations] tst_qchart.cpp:256:74: warning: 'QtCharts::QAbstractAxis* QtCharts::QChart::axisY(Q Charts::QAbstractSeries*) const' is deprecated [-Wdeprecated-declarations] Change-Id: I794c1460638c27fa7d44fc083cd7a6b4ee2e0987 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * Fix crash on ChartView component destroyKirill Burtsev2019-05-221-11/+17
| | | | | | | | | | | | | | | | | | | | | | QML engine expects that children of QML element are deleted through parent/child relationship, but deferring breaks this assumption and leads to crash later in destruction process. Fixes: QTBUG-70987 Change-Id: I9ae3cefc6ee158582d17709272d7d33f45c57cdf Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | QtChart: Remove deprecated QPainter::HighQualityAntialiasingChristian Ehrlicher2019-05-271-4/+1
| | | | | | | | | | | | | | | | | | | | QPainter::HighQualityAntialiasing is deprecated and should be replaced by QPainter::Antialiasing Change-Id: Ib4eeea6c17d82d87fb4270f146a6604ce5c8d5fb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Fix deprecation warningsFriedemann Kleint2019-05-271-1/+1
|/ | | | | | | | | | | Fix warnings: animations/axisanimation.cpp:117:51: warning: 'QVariant qVariantFromValue(const T&) [with T = QVector<double>]' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] ... axis/chartaxiselement.cpp:385:64: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] ... Change-Id: Ib36d7e09b737110323b816442b36ca2b2e79d6a5 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix boxplot testMiikka Heikkinen2019-02-204-8/+8
| | | | | | | | Pass a proper array to the append function that expects an array. Task-number: QTBUG-73942 Change-Id: Id93ea3281f68537b83fc314e9426fa8969f52191 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Merge remote-tracking branch 'origin/5.11' into devQt Forward Merge Bot2018-06-231-5/+7
|\ | | | | | | Change-Id: Ib0ce93137bb1ddc61de77d82c28e25a238f544a0
| * Migrate manual test's ChartViewer to QRegularExpressionSamuel Gaist2018-06-191-5/+7
| | | | | | | | | | | | | | | | | | This patch updates the manual test ChartViewer class to use QRegularExpression in place of QRegExp which is to be considered deprecated. Change-Id: I111c6caedea0e95f87c785ecb57cdc2211dedc51 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>