C

Qt Quick Ultralite Platform Porting Guide

Qt for MCUs supports some of the popular microcontroller platforms out-of-the-box. Although this is sufficient in a lot of cases, there is a growing demand to support other hardware platforms.

For this reason, Qt Quick Ultralite offers a set of platform abstraction APIs. These APIs enable third parties to easily port Qt Quick Ultralite to their hardware platforms, and help them achieve faster time-to-market.

This porting guide provides step by step instruction guiding you through the process of porting Qt Quick Ultralite to a new hardware platform.

Platform API reference:

<platform/alloc.h>

Provides a simple memory allocator for functions that might temporarily require some extra memory for caching

<platform/mem.h>

Provides abstraction for the memory allocation

<platform/platform.h>

Provides abstraction functionality for the platform

<platform/singlepointtoucheventdispatcher.h>

A dispatcher for single point touch events

<platforminterface/blendhelper.h>

Workaround for 2D accelerators that don't have a way to blend a color directly

<platforminterface/drawingdevice.h>

Provides an abstract drawing device

<platforminterface/drawingengine.h>

Provides an abstraction for blitting accelerators

<platforminterface/platforminterface.h>

Provides basic interfaces from the Qt Quick Ultralite core library to be used by the platform implementation

<platforminterface/point.h>

Provides integer and floating point precision points

<platforminterface/rect.h>

Provides integer and floating point precision rectangles

<platforminterface/rgba32.h>

Provides a class for RGBA colors

<platforminterface/screen.h>

Provides abstraction class for screens

<platforminterface/size.h>

Provides integer and floating point precision sizes

<platforminterface/texture.h>

Provides a class to store texture information

<platforminterface/transform.h>

Provides class to specify transformations

Available under certain Qt licenses.
Find out more.