Set QSG_RHI_BACKEND environment variable to "opengl" to force
RHI to use OpenGL backend.
Change-Id: Ie1fa0ffe466f97b1bbcc5281c49bbdf6e6d053c0
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Remove API versions from imports, using standard Button and adapted to new TableView
Task-number: QTBUG-89298
Change-Id: Ic41c53a6c6d2c0b0542464e78395f5347bdb4e74
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Most of the QML examples work now as supposed to. Qmlbars still needs
fixing and is not included in this patch.
Task-number: QTBUG-89298
Change-Id: Ic8bc6511cdb00dd3db0a181b7a31b3bbc39f0556
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I66f620431011d02cb1542e8ad613dadd28fdd843
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Add missing Q_MOC_INCLUDE and adapt to OpenGL split.
Change-Id: I6150876a62ca55ad63c09a128226c2bac428b821
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
The Qt version was added in 5.14 "for use as eventual replacement for
QString::SplitBehavior." Move another step closer to that goal.
Change-Id: Iee6bd8e83592c26b63259959e58d52131921438f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Replaced the deprecated QWheelEvent::delta() with the vertical component of
angle delta, assuming that it's acceptable to have a single-dimension
mouse wheel in the example code.
Task-number: QTBUG-76491
Change-Id: Ie05bb5934ce43976cd3cf009343d7b50ea327f14
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Since Qt 5.12, \code command accepts parameters, and in-line usage
no longer works (and was never documented to work).
Task-number: QTBUG-70980
Change-Id: I010ba21c2a20f70bfdacd7bb0c1aea3836c8efca
Reviewed-by: Martin Smith <martin.smith@qt.io>
Fix Clang warnings
main.cpp(74,13): warning: private field 'm_styleTimer' is not used [-Wunused-private-field]
main.cpp(75,13): warning: private field 'm_presetTimer' is not used [-Wunused-private-field]
main.cpp(76,13): warning: private field 'm_themeTimer' is not used [-Wunused-private-field]
Task-number: QTBUG-63512
Change-Id: I618b0b6e6157b8a82af7e81b178f5156cf9c1bca
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@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>
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>
- Include examples-run.qdocinc from qtbase/doc/global.
- Add section title to Audiolevels example docs.
- Remove unnecessary leading paragraph from Custom Proxy example docs.
- Remove information about running examples from Getting Started topic.
Change-Id: I33e8189fa20bad38e52f424b0143b4031ad7872f
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Now it is possible to check after graph construction if the graph
is actually usable in environments where the OpenGL support might
not be sufficient.
Task-number: QTRD-3748
Change-Id: Ia68b4e51386859f6d0c7b09cb44e50a74730ca55
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
-Fix miscellaneous compile errors
-Move manual tests to manual folder and enable export of autotests
-Added widgets requirement
-Fixed autotests
-Fixed renderer and controller synchronization in QML case
-Treat fallback Mesa as ES2 similar to setting AA_UseSoftwareOpenGL
Change-Id: If6619733725d079e339bef16262e5ea1450ab20f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Apparently Qt modules are now required to use Q_SIGNALS and Q_SLOTS
macros instead of 'signals' and 'slots' in headers.
Change-Id: I4140b1fff4386d74bb371176919234366965e887
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
On OS X the content item of the view must have a valid width
or height.
Change-Id: I6903671a9bd39511a4d0d649819b68930597260d
Task-number: QTRD-3469
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Change the color of untextured surface so it isn't included
in the gradient. Also make it clear the gradient is for
highlight only.
Change-Id: I822c59b905559da10a987e4a7d616d01dccdedba
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Primary fix is to not use shared context in qml with WinRT,
as that causes black screen.
Also removed widget apps from build in WinRT.
Change-Id: Id65ce90dbeb80442194ab838952e8cadc91135a6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Change-Id: I453438fee92f18c983c1bef04c68b24a7ff72cf9
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Binding slider value to its minimum value is not correct,
so just initialize it on component complete.
Change-Id: Ia21ecbffdef84448b70c6b09d240ea4f854ca541
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Change-Id: If40f10043951409b3d6597776b60d7eb55c73eec
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Change texture UVs to be generated according to data dimension. Also
utilise this change on texturesurface example.
Change-Id: Ideacfba409dc2e7cf579fb38d897e08c9f9a1b71
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>