C

Testing a new platform

The tests/manual folder under the Qt Quick Ultralite install directory contains a set of tests that can be used to verify different features of the platform port. For example, you can run the text_rendering to verify the correctness of font resources and text-related blending functions. Some of the provided tests are hardware-specific and not meant to work on all MCUs.

Follow the build instructions presented on First Qt Quick Ultralite application on new platform for each of the tests you want to run.

The most useful generic tests are listed and described below.

NamePurpose
animationsA lightweight test showing different animations. This test is very useful for spotting possible rendering glitches. It runs on most platforms.
blendingTest platform blending functions using images that utilize different functions in Qul::PlatformInterface::DrawingEngine.
borderimagesA simple test for revealing possible positioning and scaling issues.
drawingTest blitting ARGB32 image data to the frame buffer.
freertos_queueTest queue implementation. The test source has some FreeRTOS-specific code in it but it may be modified to test custom queue backends.
layersTest hardware layer backend. Useful only if you have implemented the layer backend for your platform.
pathstrokeTest vector graphics rendering. Useful especially on platforms that support hardware-accelerated vector drawing. Qt Quick Ultralite shapes Example can also be used for similar purpose.
pixel_formatsTest rendering with multiple different input formats using different opacity and rotation settings.
randomnumbersFor sanity checking the output of Qul::Platform::PlatformContext::rand.
transformationsTest rotation and scaling of images.
transformations25dTest 2.5D transformations of images.

You may also use the Qt Quick Ultralite Examples for testing a new platform.

Available under certain Qt licenses.
Find out more.