Qt5 Compilation Guide
This guide describes how to build the Astra image with Qt5 support enabled. Follow the standard image build procedure described in Building and installing a custom system image, with the single modification below when setting up the build tree.
Enabling Qt5
When sourcing setup-environment in step 3 of the Building and installing a custom system image, prefix the command with
QT_MAJOR=5:
pokyuser@xyz:/path/to/workspace/sdk $ QT_MAJOR=5 . meta-synaptics/setup/setup-environment
Note
Passing QT_MAJOR=5 before sourcing setup-environment instructs the build system to
select Qt5 libraries and modules when building packages that depend on Qt.