Install QT-creator on beagle bone

I tried to install qt-creator on beaglebone directly.

so I downloaded qt-create on qt-web site, and typed ”

chmod +x qt-creator-linux-opensource-2.8.1.run
./qt-creator-linux-opensource-2.8.1.run

but beagle bone answered
‘./qt-creator-linux-x86-opensource-2.8.0.run: cannot execute binary file’

what’s problem?

Hi Jiwon,

the problem is, that it cannot execute that binary :)))))

Or in other words:
The binary you donloaded is a "*-linux-x86-*" file,
which supports intel platforms.
The beaglebone and beaglebone black are ARM platforms
and use a totally different assembler code.

HTH!
Best regards,
mcc

jiwon Seo <sjiwon22@gmail.com> [13-09-15 16:16]:

thanks. i understand.

but is there any way to install qt-creator on bbb directly??

in case of ubuntu i can install qt creator(just type 'apt get install qtcreator`)

or is there exist qt-creator arm version?

Try to install and tell us if exists

You can run ubuntu on a BBB and there's a qtcreator package for it:

ubuntu@arm:~$ dmesg |head
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13-bone24 (root@imx6q-sabrelite-1gb-0)
(gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #1 SMP Sat Jul 13
10:07:19 UTC 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7),
cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model:
TI AM335x BeagleBone

ubuntu@arm:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

ubuntu@arm:~$ apt-cache show qtcreator
Package: qtcreator
Priority: optional
Section: universe/devel
Installed-Size: 37775
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Qt/KDE Maintainers
<debian-qt-kde@lists.debian.org>
Architecture: armhf
Version: 2.7.0-0ubuntu3
(...)

You can also build it from source, but that might be non-trivial.

regards,
Nuno

- --
http://aeminium.org/nuno/

I don’t understund why people want to run qtcreator right on a slow target while it is much easier and faster to run it on a powerful x86 host. You can configure qtcreator to cross-compile sources by an arm-gcc and deploy the binary to a target immediately by ssh.

To some people the BBB might be the only 'computer' they use for
development. I agree with you, I don't do it, just answering the question :slight_smile:

cheers,
Nuno

- --
http://aeminium.org/nuno/

Deat Nuno,

I already thought of the same thing. Sorry, I did not want to offend any one.

However in this case any serious experience with any embedded platform becomes a real pain in ass. Initial steps are better to perform at a pc. You need a console first of all