This is a HOW TO guide for building Qt 5 for the Raspberry Pi, and building and deploying Qt 5 apps using Qt Creator. This guide will be using Raspbian "Wheezy", a Debian based distro designed for the Raspberry Pi. This guide also assumes the use of Linux or UNIX on the workstation side.
Note: Throughout this guide the symbol "$" denotes a command prompt on the host workstation, and "pi$" denotes a command prompt on the target Raspberry Pi.
Getting started
Downloads
You will need the following downloads:
The latest Raspbian "Wheezy" version of Debian Linux [2013-02-09]
http://www.…
This week was another slow week as many people were off part of the week due to New Year's or extended holidays.
PhoneGap, recently renamed to Apache Callback, is now being renamed as Apache Cordova. There is discussion on the mailing list about where the code repositories will reside. It may be on github or the Apache git or both. There are also discussions on what Wiki to use. We're waiting for the dust to settle before we can commit any code changes.
On the Qt mailing list, release plans for Qt 5 are starting to shape up. To meet the goal of a release for this…
This week we did some marketing to promote the project. I made a posting to the callback developer mailing list and we put a link to this blog from the ICS web site. Quim Gil of Nokia kindly made a posting to the Nokia Qt blog. I also recorded a podcast with Mark Hatch for the ICS This Week in Qt podcast. All of this effort stimulated some good discussion on the blogs and callback developer mailing list.
Based on comments from some of the Qt 5 and WebKit developers, we will need to implement the Web View differently in Qt 5 since the QWebView widget will…
Wednesday, January 30, 2013 - 12:33
">
•
By ICS Development Team
•
Qt, Cordova, Raspberry Pi, PhoneGap
This week we finished implementing some Cordova APIs (at least for the Qt 4 version). Compass and Accelerometer are done and some of Events was implemented. Notification is done as is most of File support and we are starting work on Contacts and Camera.Note that I am going to start consistently using the name Cordova rather than Callback orPhoneGap for this project.One of the team completed the demo code for the new Qt5 WebView that illustrates passing messages in both directions between the QML JavaScript and WebKit HTML/JavaScript environments. I also wrote a…
Since the last posting we properly set up deployment of Cordova Qt for MeeGo Harmattan (e.g. the Nokia N9 phone). We also got Qt 5 packages including WebKit built for MeeGo Harmattan and tested it on a Nokia N9. Incidently, a big PR1.2 software update rolled out this week for MeeGo Harmattan phones.
Both the Qt 4 and Qt 5 versions now use a QML WebView as there is no support for widgets on some mobile platforms. However, Symbian S60 systems may still be using Qt 4.6 which doesn't support QML so it looks like we still need to maintain a widget-based version for these systems.
More of the…
Wednesday, January 30, 2013 - 12:31
">
•
By ICS Development Team
•
Qt, PhoneGap, Raspberry Pi, Cordova
Throughout this project one thing that has been constantly changing has been the source code repositories, both due to several project names changes and with the move to being run as an Apache project.
This last week the old repository at http://github.com/cordova/cordova-qt was removed and replaced by the read-only repository at http://github.com/apache/incubator-cordova-qt. The upstream repository is at http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-qt.git. Changes made to the Apache repository get mirrored to github. Developers who are not maintainers can submit pull…
Work has been slowing down somewhat as Qt 5 has been firming up for release. The Qt 5 alpha came out on April 3rd and we tested our code with it. Work is moving ahead for a Qt 5 beta release and then the 5.0.0 final this summer.
Qt 4.8.1 also came out and we tested Cordova Qt with it. A 4.8.2 is expected in the next few weeks, indicating that Qt 4 is still actively being developed and is expected to do so for some time until Qt 5 is stable. Realistically I would expect many people to continue to use Qt 4 at least until Qt 5.1 is out, as some of the Qt Quick 2 C++ APIs will not be…
We've recently been running the Cordova tests and making some fixes to get them to run better. We've documented on the Wiki how to run the Cordova tests. See the section "Running Cordova Tests" at this wiki page. We hope to have a demo video up soon showing the tests running on the simulator and Nokia phones.
Incidently, the Qt Wiki recently moved from http://wiki.qt-project.org/ to http://qt-project.org/wiki/ The older Wiki will go away at some point.
We made a couple more videos showing a preliminary version of Wikipedia Mobile running on Cordova Qt. The…
About three weeks ago, Nokia arranged for ICS to gain access to the Raspberry Pi board so that we could help with an exploratory open source effort to get Qt working on this platform. That is how I got my chance to hack some code for this amazing board. The idea was to get a bleeding edge version of Qt 5 to run and to experience first hand hardware accelerated QSceneGraph based QML. And indeed bleeding edge it is - but also blazing fast. Now, first things first:
We have all by now heard of Raspberry Pi, the newest entry into the world of dessert named geek toys. Actually we are talking real…
Good talking to you all at Qt Dev Days Munich.
We'll be at Dev Days in San Francisco beginning Nov 29 - hope to see you there!
Here's a video of my colleague, Roland Krause, demonstrating Qt 5 + Raspberry Pi at Qt Dev Days in Munich. Stop by our booth in San Francisco next week to see it first hand...and for your chance to win one of your very own!
As part of the initiative to put Qt 5 on Raspberry Pi, ICS gave away over 70 Raspberry Pi boards to interested developers at Qt Developer Days last week. If you were one of the lucky winners, be on the lookout over the next few days for an email from ICS so you'll know how to go about receiving it once they are available. More details and a video demo are available here: Qt 5 + Raspberry Pi
The Raspberry Pi folks report that the first batch of production boards is finally in production. The first 10,000 units should start becoming available around the end of this month.
ICS should be getting a number of boards from this first batch which we will distribute among our developers.
The people that won boards in our booth at Qt Developer Days should also shortly be receiving vouchers to claim their boards.
Ten of the beta boards went up for auction on eBay as a fundraiser for the non-profit Raspberry Pi foundation. The first board sold was bought by an anonymous buyer and donated…
The Raspberry Pi boards are now shipping in volume from the distributors and unboxing videos are showing up all over the Internet.
If you were one of the winners of a board from ICS you should have received an e-mail today with the details on how to redeem your voucher. If not, check your spam filter (we've had some reports of the e-mails being marked as spam).
For the latest developments on Raspberry Pi check the website and for Qt on Raspberry Pi check this Wiki page.
We haven't blogged here for some time, in part because many of the folks at ICS have been very busy planning and preparing for the annual Qt Developer Days conferences in Berlin, Germany and Santa Clara, California.
We had some coverage of the Raspberry Pi and Qt at the recent Qt Developer Days in Santa Clara. I gave a presentation on Qt and the Raspberry Pi at the conference (which I also gave in Berlin) and hosted a Birds of a Feather Session on Raspberry Pi.
In the ICS booth we were showing a Qt 5-based touchscreen demonstration application running on a number of platforms including the…