[QtonPi] Getting started with Qt on RPi

Wruhen Retribution wruhen at rogers.com
Mon Sep 17 20:59:22 CEST 2012


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/20120917/68175894/attachment.html 


More information about the QtonPi mailing list