Friday November 30, 2018 by Kari Oikarinen | Comments
During the development cycle of 5.12 we've been working on making it easier to use Qt Lite in Yocto builds, especially those using our meta-boot2qt layer.
Qt Configuration Tool now has the ability to export the set of selected Qt Lite features into files that can be used by the Yocto build to build a slimmer Qt.
Qt Configuration Tool is commercial-only and allows you visually explore and toggle different optional parts of Qt after opening an initially configured source tree. It can be used directly to configure that source tree for builds that don't include features that you don't need. That configuration can also be exported into a single file that can imported later, which makes sharing the configuration between people easier.
Previously there however wasn't a clear path to using that in a Yocto-driven build, since meta-qt5 recipes build Qt module by module. New version 1.2 of the tool and the new qt5-features class in meta-boot2qt layer provide that. Both are available in Qt for Device Creation 5.12.
./configure
for a qt5 source tree with the necessary options for yourinherit qt5-features
" into that bbappend file.features/
directory next to your bbappend file.Then run your build (bitbake b2qt-embedded-qt5-image
if you are basing your build on our example images) and enjoy the slimmer Qt made just for you!
Download the latest release here: www.qt.io/download.
Qt 6 was created to be the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Find webinars, use cases, tutorials, videos & more at resources.qt.io
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.Henkilön Qt (@theqtcompany) jakama julkaisu