← Back to team overview

ubuntu-phone team mailing list archive

Re: Building in an arm chroot with Qt Creator

 

On Sun, Jul 6, 2014 at 2:13 PM, Zoltán Balogh <zoltan.balogh@xxxxxxxxxxxxx> wrote:
One thing before that could help us to investigate is to try out the QtC 3.1.1 and the latest SDK tools: https://launchpad.net/~ubuntu-sdk-team/+archive/tools-development

I'll give that a try this evening and let you know how it goes.

Once you have upgraded (can be ppa-purge'ed and so downgraded easily later) please create new emulator and check out how the kits are.

Do you mean an new chroot?

FWIW, I've logged into the chroot and tried to do the compilation by hand. This is what happens:

(click-ubuntu-sdk-14.10-armhf)root@copper:/home/rschroll/touch/beru-arm# qmake
qmake: could not find a Qt installation of ''
(click-ubuntu-sdk-14.10-armhf)root@copper:/home/rschroll/touch/beru-arm# qtchooser -l
5
qt5-arm-linux-gnueabihf
qt5-x86_64-linux-gnu
qt5

Why does an arm chroot have a x86 version of qt? Oh well, let's specify the arm one:

(click-ubuntu-sdk-14.10-armhf)root@copper:/home/rschroll/touch/beru-arm# qmake -qt=qt5-arm-linux-gnueabihf qmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt5/bin/qmake': No such file or directory (click-ubuntu-sdk-14.10-armhf)root@copper:/home/rschroll/touch/beru-arm# ls -l /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake -rwxr-xr-x 1 root root 2222140 Jul 1 12:37 /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake

?!

Thanks for the help,
Robert





Follow ups

References