AnsweredAssumed Answered

issue for SDK to develop Qt application

Question asked by leavs lee on Aug 7, 2019
Latest reply on Aug 8, 2019 by leavs lee

I face one issue about using SDK built from yocto. I use the SDK to compile Qt applications, I found that the size of Debug version is similar to Release Version. Follow is my steps.

1. install SDK to /opt/fsl-imx-x11/3.14.52-1.1.1/

2. install Qt5.10.1 in Ubuntu16.04.

3. edit Qt5.10.1/Tools/QtCreator/bin/qtcreator.sh, add follow line in first line of this shell.

source /opt/fsl-imx-x11/3.14.52-1.1.1/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

4. run qtcreator

$ cd Qt5.10.1/Tools/QtCreator/bin/

$ ./qtcreator.sh

5. compile qt application.

I think the size of Release version is small then Debug version, but the result is that the size of Debug version is similar to Release Version. This is the issue.

 

I use other Qt kit to test, such as TI SDK or X86 toolschain, the result is right (size of release version is small more then debug version).

 

I think this issue comes from the SDK, does any one can check this issue? 

Attachments

Outcomes