I am trying to build Open embedded Target image and sdk for QT development
I didi this build
bitbake -k angstrom-lxde-image
and got this image
Colibri-T20_LXDE-Image_2.8b2-20180424.tar.bz2
For SDK I did this build
bitbake angstrom-lxde-image -c populate_sdk
and got this.
angstrom-glibc-x86_64-armv7at2hf-vfp-v2017.12-toolchain.sh
I tried the sdk with Eclipse and the hello world is working.
Now for QT development which is the image build for Target and which is the sdk build?
I am going through this page, but slightly confused
Hello
For Qt, you should follow this to build the open embedded image.
Once the image is built, the SDK can be created using the following command:
bitbake <image_name> -c populate_sdk
best regards,
Jaski
I can see this on that page
To add Qt5 to oe-core, you have to add
the “meta-qt5” layer. We tried the Qt5
layer only with Tegra and i.MX6 based
modules. Starting with V2.6 meta-qt5
is part of the layers which get set up
and the manual cloning and change to
bblayers.conf is not longer needed.
Since I am using Version 2.8 from Toradex git, I presume QT is already included in the open embedded build. So the steps described Here is not needed in my case.( correct me if I am wrong).
Also Here it says to build this for sdk
$ bitbake -k meta-toolchain-qt5
Apart from the SDK generation syntax mentioned in the previous reply, should I use this bitbake?
Yeah, it is added, but you have to create the image with the command bitbake -k angstrom-qt5-x11-image
. For the SDK you can use the command you mentioned although the way with populate_sdk is best practice.
I have created image and Sdk and toolchain with
bitbake -k angstrom-qt5-x11-image.
But the eimage is with a Application, no desktop.
So can I use this image to deploy my QT application?
What do you mean with application? If you have an image with Qt included then you can use this to deploy your QT application.
This image ( angstrom-qt5-x11-image) when deployed will boot up to a Home Automation Application. No desktop in that image.
So my doubt is weather this image when burned into T20 can be used as a target platform to deploy (Develop) my Qt application?
Hi Uro
You are right. The angstrom-qt5-x11-image has no desktop, this image is good for production but for development you should use the normal bitbake angstrom-lxde-image -c populate_sdk
image with QT5 functionality added in local.conf as described here.
Qt5 functionality is already added by default in image Version 2.8. So as in some other post you already confirmed, the local conf change is not needed in my case.
hello
yeah, the QT5 is included in the build/conf/bblayers.conf but not in the local.conf. So you need to add this. Sorry I did not see this before. So either you build bitbake -k angstrom-qt5-x11-image
(without desktop) or you build the normal angstrom image (with desktop) with added QT functionality in local.conf.