User:Joger/Embedded: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Obtaining the system image == === Option 1 === Build your own system image and SDK using Yocto <ref>https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html</ref>. <syntaxhighlight lang="bash"> mkdir ~/Projects/qt-yocto cd ~/Projects/qt-yocto repo init -u git://code.qt.io/yocto/boot2qt-manifest -m 6.8.xml repo sync export MACHINE=raspberrypi4-64 source setup-environment.sh bitbake meta-b2qt-embedded-qbsp </syntaxhighlight>The bitbake output is a Qt board support...") |
No edit summary |
||
Line 10: | Line 10: | ||
source setup-environment.sh | source setup-environment.sh | ||
bitbake meta-b2qt-embedded-qbsp | bitbake meta-b2qt-embedded-qbsp | ||
</syntaxhighlight> | |||
</syntaxhighlight>The bitbake output is a Qt board support package that can be installed with the Qt Maintenance tool. It is located at | The bitbake output is a Qt board support package (BSP) that can be installed with the Qt Maintenance tool. It is located at <code>build-raspberrypi4-64/tmp/deploy/qbsp/meta-b2qt-embedded-qbsp-x86_64-raspberrypi4-64-6.8.0.qbsp</code> | ||
Note that building Qt WebEngine requires a lot of RAM. Consider disabling this module by addding <code>DISTRO_FEATURES:remove = "webengine"</code> to <code>build-raspberrypi4-64/conf/local.conf</code> | Note that building Qt WebEngine requires a lot of RAM. Consider disabling this module by addding <code>DISTRO_FEATURES:remove = "webengine"</code> to <code>build-raspberrypi4-64/conf/local.conf</code> |
Revision as of 19:08, 5 August 2024
Obtaining the system image
Option 1
Build your own system image and SDK using Yocto [1].
mkdir ~/Projects/qt-yocto
cd ~/Projects/qt-yocto
repo init -u git://code.qt.io/yocto/boot2qt-manifest -m 6.8.xml
repo sync
export MACHINE=raspberrypi4-64
source setup-environment.sh
bitbake meta-b2qt-embedded-qbsp
The bitbake output is a Qt board support package (BSP) that can be installed with the Qt Maintenance tool. It is located at
build-raspberrypi4-64/tmp/deploy/qbsp/meta-b2qt-embedded-qbsp-x86_64-raspberrypi4-64-6.8.0.qbsp
Note that building Qt WebEngine requires a lot of RAM. Consider disabling this module by addding <code>DISTRO_FEATURES:remove = "webengine"</code> to <code>build-raspberrypi4-64/conf/local.conf</code>