| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I3d24eb8e5c0fdb718971535c2d2126dcf67a660f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: QTBUG-88742
Change-Id: I95eef560adfc2bbcd4b9ab42f76f0bb72afdedee
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: QTBUG-89091
Change-Id: Ie511e6bc262f197b2c21e52ec7696a0d50e06d18
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
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 for opengl otherwise cmake support scripts
will not handle it.
Change-Id: I5a52ce91cd81ff82eca6e8d6c8b9e371a5294ec8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This handles also qreal as float detection.
Change-Id: I6b975f487f4d244849c306a703e5f25172acec8e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Fix some warnings about deprecated API.
Change-Id: Ic3a454dc5045a6126c3c8460700a2fce3c37352e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Use QMultiMap, QMulitHash instead.
Change-Id: I0782aa189a4465619757cb8204189bda888d641a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: QTBUG-84469
Change-Id: I29790393aa11650842acd7b7c522554540270a18
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| | |
Change-Id: I2b92426d958965b3f74be7cb21b1d4fb61543104
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| | |
Change-Id: If708fa111c6ea70e5fdaae3f9be40210fb41f86a
|
| |
| |
| |
| |
| |
| |
| | |
It is being deprecated.
Change-Id: I1eafbce147e05028c93830bb882611d9eea58586
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| | |
Change-Id: I2570b3c739857b2fc4ffb26e9ccf1101f2803d87
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| | |
Change-Id: I6a227dfd1762f3c551c373cceb0d8b66bd061cde
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-77240
Change-Id: I2bbfa696db6528257d911b94e6c56759dd32beb3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| | |
Change-Id: I4d0a887c45dbeb23f7bd826d1e90c823323eb198
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 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>
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| | |
Change-Id: Ib0ce93137bb1ddc61de77d82c28e25a238f544a0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
Change-Id: Iaa5cee58382b8290a7e36fd744a8af8bc29515b9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ifaec4b83757b31a28650f72e308529edd786b4eb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change tst_QAbstractAxis::init(QAbstractAxis* axis,QAbstractSeries* series)
to a protected non-virtual, non-slot helper function initAxes().
Remove overridden functions that are empty or identical to the
base implementation (cleanupTestCase()). Add override.
Fixes:
tst_qvalueaxis.cpp(41,10): warning: 'tst_QValueAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
tst_qlogvalueaxis.cpp(42,10): warning: 'tst_QLogValueAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
tst_qcategoryaxis.cpp(41,10): warning: 'tst_QCategoryAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
tst_qbarcategoryaxis.cpp(42,10): warning: 'tst_QBarCategoriesAxis::init' hides overloaded virtual function [-Woverloaded-virtual]
Task-number: QTBUG-63512
Change-Id: Ieb5fae83a43b6ca6ff4211db980a56c10c02c015
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ib7c1f07ccaf6eac51303984b39c21d099ca0706a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite QLegendPrivate::handleCountChanged() so that the order
of the markers is preserved. Split out helper functions for
insertion/removal that leave the m_markers list untouched and
add helpers for finding markers by series and related objects.
In QLegendPrivate::handleCountChanged(), remove the markers
of the series from m_markers and replace the existing ones
in the createdMarkers. Finally re-insert createdMarkers into
m_markers, preserving the order.
Task-number: QTBUG-62082
Change-Id: I03c81dcf5dfd5a5883377630cad16c943503a1be
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|/
|
|
|
|
|
| |
Adds properties to define dynamic tick positioning for ValueAxis.
Change-Id: Ife2ff3032492e063604adba9bd63eed72c0e0a16
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
| |
Use QTest::qWaitForWindowExposed() instead. Also wrap it in QVERIFY, so that
failed waits fail immediately.
Change-Id: I658d2faa89c42bd190de4bf53179b26b8f5d1b6c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I03085b7c604cda9c4a173ca8f6dd34d522e59b16
|