Testing a new platform
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.
|animations||A lightweight test showing different animations. This test is very useful for spotting possible rendering glitches. It runs on most platforms.|
|blending||Test platform blending functions using images that utilize different functions in Qul::PlatformInterface::DrawingEngine.|
|borderimages||A simple test for revealing possible positioning and scaling issues.|
|drawing||Test blitting ARGB32 image data to the frame buffer.|
|freertos_queue||Test queue implementation. The test source has some FreeRTOS-specific code in it but it may be modified to test custom queue backends.|
|layers||Test hardware layer backend. Useful only if you have implemented the layer backend for your platform.|
|pathstroke||Test 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_formats||Test rendering with multiple different input formats using different opacity and rotation settings.|
|randomnumbers||For sanity checking the output of Qul::Platform::PlatformContext::rand.|
|transformations||Test rotation and scaling of images.|
|transformations25d||Test 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.