qmatrix4x4.h will lose its qquaternion.h include, so include
qquaternion.h explicitly in all files that mention 'QQuaternion',
unless, for a foo.cpp, the own foo.h has already included it.
Also add forward declarations, where needed.
Amends the start of this module's history.
Pick-to: 6.8
Change-Id: I605bf742be5bb92a676704f12d738d241bd9b0da
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 6a44c5fe57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e23fb8de70)
Removed qmlRegisterType calls from the qmake versions of the
AxisHandling and SurfaceGallery examples. These examples already had
the QML_ELEMENT macro in their classes. With this change,the qmake-based
examples now also work correctly withcompile-time QML type registration,
just like their CMake.
Pick-to: 6.8
Task-number: QTBUG-136712
Change-Id: Ieb6328f57dbb19373a3895572667c749af0ed344
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 96578b3b00)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ace78623ef)
reasoning: we are reading a text file from disk without doing any sanity checks
Task-number: QTBUG-127255
Pick-to: 6.8
Change-Id: Ie911841541c7423b039a733091eaa65d21810b16
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 2ffc84aea4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Custom object scaling had a bug before 6.9 which made them
2 times too small by default. Adjust scaling in the example
to take that into account.
Change-Id: I0b3bfa4fe8606394765372d96d19f4c82e63087e
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 772873717a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Also fixed style customization warnings by switching style to basic instead of using the native one
Task-number: QTBUG-119683
Change-Id: I818b37cb9d8f4edfa2d1583f38897c2190a53e0c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit e71ccde8d5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Change QSurfaceFormat link to IdealSurfaceFormat.
Pick-to: 6.8
Fixes: QTBUG-127689
Change-Id: Ic9a27fb421e510b51492984dacee2c68eb88919d
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Forcing extra link options with Qt 6.8.0 wasm caused crashes,
possibly due to the emscripten sdk version difference between
Qt 6.7 and Qt 6.8.
Pick-to: 6.8.0 6.8
Fixes: QTBUG-128889
Change-Id: Ica5b7158a52c4bb5049a59063a32bb9386d6d608
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Users were still able to try and build widget examples
stand-alone on Android, for instance. Prevent it.
Pick-to: 6.8 6.8.0
Fixes: QTBUG-128799
Change-Id: I398b8c724e038d5142bbd5a3a2aa8c8ead17a1c2
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
QML plugins are missing for static build such as iOS.
Also issues on iOS when using QuickWidget in TabWidget
Pick-to: 6.8
Task-number: QTBUG-125480
Change-Id: I398ff13fab49731bb58d94018bc760f5125a9c66
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
This commit improves the readability, structure, style, and formatting
of the Qt Graphs docs. It also corrects several minor issues and broken
links.
Task-number: QTBUG-127820
Pick-to: 6.8
Change-Id: Ie564fde207f7059f6cd064ab74599aad0753ea6f
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Also clean up extra semicolons from functions
Note: This fixes the problem in the linked ticket,
but does not fix the root cause of it. This is why the
ticket is left open.
Pick-to: 6.8
Task-number: QTBUG-127801
Change-Id: I5259ca55162e61ded68d5d3a2544944fb73a3bef
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Fixes the following warnings:
src/common/theme/qgraphstheme.cpp:
(qdoc) warning: Can't link to 'Default Theme'
examples/graphs/3d/equation/doc/src/equation.qdoc:
(qdoc) warning: Can't link to 'ListModel'
(qdoc) warning: Can't link to 'Scatter3DSeries.mesh'
(qdoc) warning: Can't link to 'View3D.importScene'
(qdoc) warning: Can't link to 'View3D.environment'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.backgroundMode'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.clearColor'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.tonemapMode'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.glowEnabled'
(qdoc) warning: Can't link to 'ExtendedSceneEnvironment.TonemapModeNone'
src/common/theme/qgraphstheme.cpp:
(qdoc) warning: Can't link to 'QQuickGraphs::theme'
src/graphs2d/qgraphsview.cpp:
(qdoc) warning: Can't link to 'Testbed'
src/graphs3d/doc/src/qtgraphs3d-overview.qdoc:
(qdoc) warning: Can't link to 'How to construct a minimal Q3DBars graph'
(qdoc) warning: Can't link to 'How to construct a minimal Q3DScatter graph'
(qdoc) warning: Can't link to 'How to construct a minimal Q3DSurface graph'
src/graphs3d/engine/q3dscene.cpp:
(qdoc) warning: Can't link to 'QtGraphs3D::SelectionRow'
(qdoc) warning: Can't link to 'QtGraphs3D::SelectionColumn'
src/doc/qtgraphs.qdocconf:
(qdoc) warning: Failed to find
qhp.QtGraphs.subprojects.gettingstarted.indexTitle
'Qt Graphs Getting Started'
Pick-to: 6.8
Change-Id: If43f23dcef00b5fccd9ddd449bb1fcc744e09668
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Add a connection to listen to platform color changes. This is done by
adding an internal color scheme enum that contains Automatic value
in addition to Unknown, Light and Dark. The user can opt in and out
of the automatic behavior by setting the color scheme with the new
enum.
Fixes: QTBUG-125782
Pick-to: 6.8
Change-Id: I21a82269d498b1fc17c675bcedae7fd71bc36e1c
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Instead of doing it piece by piece, add a evaluator
javascript file that can parse an equation from a string.
Pick-to: 6.8
Task-number: QTBUG-124827
Change-Id: I496ecbfb0976dd7d5b89cf9dffaec85348369191
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
The equation itself still looks bad, we need to
do something about it in a subsequent patch.
Pick-to: 6.8
Task-number: QTBUG-124827
Change-Id: Ifa381e173e7c79a8e469a6ef64934c26b07a6ab3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Windows Boot2Qt builds fail due to the case insensitivity
of the platform. Rename URIs to remove the problem.
Pick-to: 6.8
Fixes: QTBUG-119273
Change-Id: I8fa5afaddaadc072bea715f534b0e8a405c47acb
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
IconImage is not found anymore in 6.8.0
Pick-to: 6.8
Change-Id: Ie2760aea9e8082a08cda4d1aca6378c0c697b03a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Therer is redandancy to the properties for lines.
So grouped them into grouped property.
Task-number: QTBUG-125378
Change-Id: I06e357375aed2dbb662f76669b3e0f8430a0e48d
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Unify docs for QML properties \qmlsignal use.
Signals for {propertyName}Changed should be documented.
Move qml docs to proper source files.
Task-number: QTBUG-123522
Pick-to: 6.8
Change-Id: I47f34d10dc6bbf46d3c9712cee5d27aa5968a598
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
The naming of window/background/plotAreaBackground
created a couple of wrong behaviors in the examples.
Change-Id: I9932962e2567823ec72178ab2f5d4a70251ea299
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Change-Id: I3517acfcbc7c05ef1a284a581cbb035b09073f4d
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Unify naming and usage of background color properties in 2D & 3D.
- windowColor is renamed to backgroundColor. In 3D it will control the
SceneEnvironment background color, not adjust window color anymore.
- backgroundColor is renamed to plotAreaBackgroundColor. In 3D it will
control the plot area (grid) background color like it used to.
- Also have *Enabled properties for both. When backgroundEnabled is
false, SceneEnvironment background is transparent.
- Remove plotAreaBackground property from 2D GraphsView as it comes
from theme now.
Fixes: QTBUG-125050
Change-Id: Iaf824bacb224230fc501637887f61f11af860464
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>