[QtonPi] Getting started with Qt on RPi

John jfcaustin02 at yahoo.com
Wed Sep 19 21:28:32 CEST 2012


OK, first of all, thanks for pointing me in the right direction. I first tried the script in OSX and I can report that it needs mods to run on that O/S. So I got an Ubuntu VM and was able to run it. Something is going wrong, however, when it tries to build qmake:

{standard input}: Assembler messages:
{standard input}:130463: Warning: end of file not at end of a line; newline inserted
{standard input}:131269: Error: bad register name `%e'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make: *** [makefile.o] Error 4
Configuring QT Failed


I tried building qmake manually and got the same message. So it's not a problem with the script as best I can tell. Most of the other stuff appears to have successfully built but without qmake I don't think I'm going to get very far.

-John



________________________________
 From: Wruhen Retribution <wruhen at rogers.com>
To: Kieran Evans <keyz182 at gmail.com> 
Cc: John <jfcaustin02 at yahoo.com>; "qtonpi at qt-project.org" <qtonpi at qt-project.org> 
Sent: Monday, September 17, 2012 2:59 PM
Subject: Re: [QtonPi] Getting started with Qt on RPi
 

Hi Kieran

Your script has been really useful for me - I was starting to flounder in the conflicting instructions that were out there for building Qt!  Even made a small change yesterday to build webkit - now I just have to prove that webkit works :-)

Thanks for all the work you did!

On 2012-09-17, at 2:49 PM, Kieran Evans <keyz182 at gmail.com> wrote:


Woo! My script is being used! :p
>
>I've tried to make it as friendly/easy to use as possible, so if
      yiu have any problems, let me know and I'll do something about it.
      It's only been tested by me on Ubuntu 12.04, so I can't make
      promises about other distros.
>
>One tip for using qt creator with the compiled qt5 is to mount the
      image it makes after copying it to the sd card. QT will look for
      files at the mount point, which it wont find unless mounted.
>To mount the image, run 
>
>sudo mount -o loop,offset=62914560 2012-08-16-wheezy-raspbian.img /mnt/rasp-pi-rootfs
>
>This'll let you use QT creator to compile and deploy code to your
      pi, and debug :)
>
>/Kieran
>
>On 17/09/2012 19:43, Wruhen Retribution wrote:
>
>Hi John
>>
>>
>>Check out this guide for cross compiling Qt for Raspbian Wheezy - http://qt-project.org/wiki/RaspberryPi_Beginners_guide - there is a shell script near the top f the file which does a great job of automating the whole build process.
>>
>>
>>Hope that helps.
>>
>>On 2012-09-17, at 1:48 PM, John <jfcaustin02 at yahoo.com> wrote:
>>
>>
>>I'm fairly new to Qt and Linux and I'm wondering "where the heck do I start?" As best I can tell the QtonPi image isn't really a good option (feel free to correct me if I'm wrong) so I guess that leaves me with either trying to track down a distro with Qt or rolling my own (preferably based on wheezy). It looks like Qt4 is available via the standard "apt-get" command but Qt5 does not appear to be easily installed. But, from what I've read, Qt5 is really what I want. So I'm guessing I need to roll my own version of Qt from the sources (?). And I'm not sure if it's best to build natively on the RPi or cross compile on my Mac. I'm pretty sure I've looked at all the relevant Qt - RPi documentation but felt that it was geared toward advanced Linux users and certainly not a noob like me. Any help getting started would be greatly appreciated!
>>>
>>_______________________________________________
>>>QtonPi mailing list
>>>QtonPi at qt-project.org
>>>http://lists.qt-project.org/mailman/listinfo/qtonpi
>>>
>>
>>
>>_______________________________________________
QtonPi mailing list QtonPi at qt-project.org http://lists.qt-project.org/mailman/listinfo/qtonpi 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20120919/f6aeb1c5/attachment-0001.html 


More information about the QtonPi mailing list