[QtonPi] QtonPi Digest, Vol 10, Issue 12

Jay See jc at vtkloud.com
Mon Sep 17 21:36:29 CEST 2012


>
>
>
Thanks a lot for your script Kerian. I have tried it and had no major
issues, but I wanted to do it step by step by myself too :)
Regarding http://qt-project.org/wiki/RaspberryPi_Beginners_guide I had some
troubles:
- build of qtbase will fail unless I add -no-pch option to configure. While
its documented (on a different page), I wonder if it's a common issue. I
used a fresh install Ubuntu 12.04 (in a virtual box)
- in the setup of QTCreator the wiki says to use /usr/local/qt5pi/bin/qmake

 I repeatedly had an error stating that qt was not properly installed and I
would need to run make install again, until I replaced the aforementioned
path with /opt/qt5/bin/qmake then it worked (while I am being warned that I
have no qmlviewer)

I'm still too much of a newbie on both RPI and QT to propose these changes
to the wiki page but I would be curious to hear from you guys about these
two observations.. Then I'll suggest the wiki change

Regards
JC


> Message: 8
> Date: Mon, 17 Sep 2012 19:49:17 +0100
> From: Kieran Evans <keyz182 at gmail.com <javascript:;>>
> Subject: Re: [QtonPi] Getting started with Qt on RPi
> To: Wruhen Retribution <wruhen at rogers.com <javascript:;>>
> Cc: "qtonpi at qt-project.org <javascript:;>" <qtonpi at qt-project.org<javascript:;>>,
>      John
>         <jfcaustin02 at yahoo.com <javascript:;>>
> Message-ID: <505770AD.3040807 at gmail.com <javascript:;>>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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=629145602012-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 <javascript:;>
> > <mailto:jfcaustin02 at yahoo.com <javascript:;>>> 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 <javascript:;> <mailto:QtonPi at qt-project.org<javascript:;>
> >
> >> http://lists.qt-project.org/mailman/listinfo/qtonpi
> >
> >
> > _______________________________________________
> > QtonPi mailing list
> > QtonPi at qt-project.org <javascript:;>
> > 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/4d0a35f1/attachment.html
>
> ------------------------------
>
> _______________________________________________
> QtonPi mailing list
> QtonPi at qt-project.org <javascript:;>
> http://lists.qt-project.org/mailman/listinfo/qtonpi
>
>
> End of QtonPi Digest, Vol 10, Issue 12
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20120917/b13ba9c6/attachment-0001.html 


More information about the QtonPi mailing list