|
Add recipe for a full cross SDK image (which includes SDK for Qt5)
for AGL Demo Platform of AGL Distribution.
To build SDK,
$ bitbake agl-demo-platform-crosssdk
To install SDK (e.g. for porter)
$ cd tmp/deploy/sdk
$ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-cortexa15hf-vfp-neon-toolchain-1.0.0.sh
To use SDK (e.g. for porter)
$ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi
You can also use QtCreator with this SDK:
$ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi
$ qtcreator.sh
Before building your Qt projects, you should setup QtCreator once to use SDK.
E.g. configurations for porter,
From Menu "Tools" -> Submenu "Options",
1. Option "Build & Run" -> Tab "Compilers" -> Button "Add" -> Select "GCC"
Name: Poky G++
Path: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
2. Option "Build & Run" -> Tab "Debuggers" -> Button "Add"
Name: Poky GDB
Path: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb
3. Option "Build & Run" -> Tab "Qt Versions" -> Button "Add"
Filename: /opt/poky-agl/1.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake
4. Option "Build & Run" -> "Tab "Kits" -> Button "Add"
Name: AGL
Device Type: Generic Linux Device
Sysroot: /opt/poky-agl/1.0.0/sysroots/cortexa15hf-vfp-neon-poky-linux-gnueabi
Compiler: Poky G++
Debugger: Poky GDB
Qt Version: Qt 5.3.2(qt5)
Change-Id: I5794c62e0f06db326d7af737ce47aa9767cdd3ef
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|