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 instructions guiding you through the process of porting Qt Quick Ultralite to a new hardware platform. Porting Qt Quick Ultralite to a new board will be done in phases to make the process easier. With each phase one new part will be ported.
For a description of the general abstractions and components see Qt Quick Ultralite Platform Abstraction Architecture
Phase 1: Basic setup
- Prerequisites for porting Qt Quick Ultralite to a new platform
- Project setup
- Creating the platform configuration file
- Defining default variables for the platform
- Linker script setup
- Implementing basic functions
- Implementing logging support
- Creating flash targets
- First Qt Quick Ultralite application on new platform
Phase 2: Graphics
Phase 3: Touch input
Phase 4: Optionals and Optimizations
This section contains optional and improvement tasks that depend on your specific board and OS. Because most MCUs have some kind hardware accelerated graphics, it is highly recommended to implement at least these to get the full performance out of your device.
Recommended improvements
- Hardware accelerated blending
- Memory allocation in Qt Quick Ultralite platform abstraction
- Improving startup time using a preload allocator
- Preloading Qt Quick Ultralite internal resources
Improvements depending on HW capabilities
Useful for testing
- Testing a new platform
- Porting DeviceLink Communication
- Implementing performance metrics platform APIs
QtCreator integration
Others
Available under certain Qt licenses.
Find out more.