Good Video to get more Information about Programming are this
It is for Beagelbone but for programming Qt it is a good start.
We have followed this steps and have QT 4.8 applications running on both systems, Desktop and imx6 target. But we have problems with debugging:
on desktop: https://community.freescale.com/message/348541#348541 , and
This problem seems to be related to python. But I am no used to it. It seems as if site.py was trying to import the get_config_var function from sysconfig.py. Then the process is stopped at the beggining of sysconfig.py. However the files are untouched from their compilation date. Any clue?
The message on the Debugger Log window seems to say that bb is a GDB command but I am no able to find it in any GDB page. I have a windows station with a test QT 5.0 instalation. There the bb command works. Both QTs, 4,8 and 5,.0, are using GDBs 7.5.1. So, is really bb a GDB command? Any hint about why bb is not defined?
Thanks and best regards
sorry I didn`t try that till now.
Have a look at Dereks Video.
I hope it will help.
Am 05.09.2013 20:29, schrieb Diego Gonzalez:
Freescale Community <https://community.freescale.com/>
Setup QT Creator with Yocto Build
Antwort von Diego Gonzalez
in /i.MX Community/ - Komplette Diskussion anzeigen
Desktop Mode Debugger problem news)
We start QT after deleting the line:
from qtcreator.sh. Without it, QT Debugger shows the variables and its values.
Something is not well defined inside that file and it makes fail the GDB local mode start.
We saw he video but I fear we have not enough experience to extract the conclusion we look for. We review it more slowly from time to time.
Found ... we think.
Line: bitbake meta-toolchain-qt
compiles a Python 2.7.3 without some default modules: for example subprocess
Line: source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
changes PYTHONHOME and redirects it to /opt/poky.../python
When QTCreator execute the python dumpers to show the variables, it needs the lost modules. So we go to the next questions:
It is necessary use the /op7/poky/... /python or we can use Ubuntu python?
How can I say to meta-toolchain-qt to generate a complete python version?
Thanks and best regards
Hi Joreg / Everybody,
I follow the same exact step as mentioned above (with same version of QT creator) ,
but I endup getting ABI detection failed in QT version tab ( i selected qmake2) and it throws exception
I tried clean install many times, but each time its the same.
Any input on this regard will be highly appreciated.
Now I stumble on this when I try to build (QT creator 2.8)
The below thread indicated that the follwing env variables has to be set
Joreg, do you happen to know if its necessary to add variables in the project build option ?
Thank you .
i added the line " source /opt/poky/1.5.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi" to qtcreator.sh before "#! /bin/sh" line and I am still having the same problem. do you know what else could cause this. I dont think it is recognizing the line added to the qtcreator.sh file because when i launch it from terminal with the line it stated "source not found". please help.
i'm using poky version 1.5.1
Thanks for detailed explanation.
However I noticed that if SDK is installed at path other than default installation path then specifying Qt version in qtcreator doesn't work. I get "Invalid Qt Version" error.
I run qmake -query command and found that all variables point to default SDK installation path and not at where SDK is installed.
Do you have any idea how to solve this?
Hello Joerg-SH and thank you for this guide. I am using Qt 3.3 have followed your steps to setup Qt creator, and I have a few questions:
1) In specifying the kit, in the compiler tab there is an option for specifying the compiler path and make path. For the compiler path, I used "/opt/poky/1.5.3/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++" but I do not know what to put into the make path, do I just put the normal directory for the make utility?
2) I am using the latest Qt and Qt Creator, but after "bitbake meta-toolchain-qt", I think the version for Qt located within the sysroots folder is 4.8.5. Would this be OK?
I am new to all of this and any help would be greatly appreciated. Thanks
I follow your step to setup QT.
But there were some errors.
| collect2: ld returned 1 exit status
| make: *** [lto1] Error 1
| make: Leaving directory `/home/wangq/work/yocto/fsl-release-bsp/sources/poky/build/tmp/work/x86_64-pokysdk-linux/gcc-crosssdk/4.8.2-r0/gcc-4.8.2/build.x86_64-linux.x86_64-pokysdk-linux/gcc'
| make: *** [all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/wangq/work/yocto/fsl-release-bsp/sources/poky/build/tmp/work/x86_64-pokysdk-linux/gcc-crosssdk/4.8.2-r0/temp/log.do_compile.8418)
ERROR: Task 547 (/home/wangq/work/yocto/fsl-release-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-crosssdk_4.8.bb, do_compile) failed with exit code '1'
And I want to know this file（poky-eglibc-x86_64-arm-toolchain-qt-1.4.1.sh） came from where? I am new to all of this and any help would be greatly appreciated. Thanks