What QT Version path to use when setting a Build & Run Kit for the Angstrom Qt embedded distribution
- I installed the angstrom toolchain to work with the BeagleBone
- I tested that the toolchain works by compiling a miniature QT Application (it just creates a text file to proove that it ran). Copied the program onto the BeagleBone sshed into the BeagleBone and ran the QT application that created the file as expected. So far so good.
- I installed QT Creator 2.6.2, created a project with a desktop application, compiled and ran it on the desktop no issue there.
- Since I want to cross-compile I went to project view and started creating a new Build & Run Kit but I have no idea what value to create for the Qt Version field when creating that Build Kit?
The same settings as used to build your example project. Same qmake, tool chain, etc.
What exactly is your problem?
Found what I needed in the script I ran to setup and test the toolchain before installing Qt:
alias opkg="LD_LIBRARY_PATH=$SDK_PATH/lib $SDK_PATH/bin/opkg-cl -f $SDK_PATH//etc/opkg-sdk.conf -o $SDK_PATH"
alias opkg-target="LD_LIBRARY_PATH=$SDK_PATH/lib $SDK_PATH/bin/opkg-cl -f $SDK_PATH/$TARGET_SYS/etc/opkg.conf -o $SDK_PATH/$TARGET_SYS"
Back to square one, I could not get things to work.
Here is a picture of the error displayed in the Manage Kits option screen:
!http://photos2.meetupstatic.com/photos/event/6/a/3/8/highres_214047192.jpeg(Photo of error displayed in the manage kits screen)!
More pics of the setup:
I got things to cross-compile but I still get that Black Background Error in the Manage Kits screen. It is not blocking but it is annoying not to know why QT Creator is complaining, I am obviously doing something in a sub-optimal way for QT Creator to complain like that... plus I fear some side effects down the road.
The only issue I see is with the Qt version: Creator can not figure out which architecture the Qt version is targeting.
Creator will try to read the QtCore library from where qmake -query points to (library directory). Either it does not find a libQtCore.so* there or it does not know the binary format of that file.