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/devicelink.h>

Provides device link functionality for the platform

<platform/framebufferformat.h>

Provides information about framebuffer format for use with the device link protocol

<platform/mem.h>

Provides abstraction for the memory allocation

<platform/messagequeue.h>

Provides abstraction for platform-specific queues

<platform/platform.h>

Provides abstraction functionality for the platform

<platform/singlepointtoucheventdispatcher.h>

A dispatcher for single point touch events

<platforminterface/arc.h>

Provides arc handling convenience functions

<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/error.h>

Provides functions to report errors

<platforminterface/filesystem.h>

Provides an abstraction class for file systems

<platforminterface/genericmatrix.h>

Provides a class for matrix manipulations

<platforminterface/gradient.h>

Provides gradient handling convenience functions

<platforminterface/imagedecoder.h>

Provides an abstraction class for image decoders

<platforminterface/layerengine.h>

Provides an abstraction for managing hardware layers

<platforminterface/log.h>

Provides functions to print logs

<platforminterface/memoryallocator.h>

Provides an abstraction for memory allocation

<platforminterface/pathdata.h>

Provides classes for representing and handling path data

<platforminterface/pathdatastroker.h>

Generates path data for stroke representation

<platforminterface/pixeldatapointer.h>

Provides pointer to the pixel data stored in the memory

<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/printf.h>

Provides C API for printing functions

<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 API for transformations

Available under certain Qt licenses.
Find out more.