Because from Qt 5.12, the the right operator| is found in the Qt namespace
instead of in the global namespace.
One must still add the 'using' statement so this patch can be integrated
using a previous qtbase. But the statement can be removed once qtbase is
updated.
Task-number: QTBUG-67582
Change-Id: Ib79c4623e858988bb55a87ad4fb0c1e0ceee81cf
Reviewed-by: Liang Qi <liang.qi@qt.io>
Some old license header were used. replace it with proper one
Task-number: QTBUG-67308
Change-Id: I6c501ab381c4ebb9f0b3466c303447edf3531915
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Simon Quigley <tsimonq2@ubuntu.com>
These are now longer required on Qt 5.11 where QDoc uses Clang to
parse the documentation.
Change-Id: I8a3bd7d935acf4c93fb8a6179cb8d3327697759a
Reviewed-by: Martin Smith <martin.smith@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
QDoc in Qt 5.11 uses Clang to parse the C++ documentation.
Ignore the custom namespace used for Qt Data Visualization when
Clang is used - this resolves all documentation warnings and
generates it as it did on Qt 5.10.
Change-Id: I331bdb07611eb97f1df1896468d11c9341156739
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
Vec3 used on fragment shader when vec2 used on vertex shader. On
surfaceTextureFlat coords_mdl not used at all, so remove it.
Change-Id: I7898db37e7967a7cb9933fe1a05f42a332c06130
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Fix m_resetArray so that if it not yet created, then create it. Currently
it is created every time.
Change-Id: I850bd9d2f719cd76bfd3292a439f9585a4e99fc3
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Changes the rendering order of custom items to insertion order.
Task-number: QTBUG-64312
Change-Id: I1ce865a3492c145ffa269cd12baa15ffff8d6a59
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Drop highlighting for 'Surface Example' in favor of 'Qt Quick 2 Surface
Multiseries Example'.
Task-number: QTBUG-60663
Change-Id: I7a8e3c501b7d5eaf500d3e0eca2eb41c17d182d5
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
By default surface textures had wrong wrap modes making the color bleed
on edges. This patch changes the texture wrap modes to clamp to edge.
Task-number: QTBUG-62996
Change-Id: Iebee66b01a78db6036cb0c833f39237f8e98b6b7
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
The tests for boot2qt were disabled with commit
0340120d5f. Some of them
can now be enabled since qtdeclarative fallbacks to software
renderer if OpenGL is not supported. Some tests still need
to be skipped if OpenGL is not supported.
Task-number: QTBUG-60268
Change-Id: I8019859bc88497e08599d0b5f4981b9a3ac071f3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This is the result of running the (experimental) clang-tidy check
qt-modernize-qsharedpointer-create
Discarded changes: none.
Change-Id: Id131553710a846ff131abbc7fd7c01cc5b1da1df
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
These document what the arithmetic is actually doing; and save us an
ad-hoc use of an approximate value for pi while we're about it.
Task-number: QTBUG-58083
Change-Id: I82c5502af724b33ec598c5a9da76537f93a95eac
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>