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…
There was no blog posting last week because I was away for some vacation in a warm place.
This week work continued implementing the APIs for Accelerometer and Notification and using the Qt Simulator for testing.
We also started looking at the new APIs needed to use WebKit2 from Qt 5. With Qt 5 and Webkit2 the APIs for QtWebKit and Web View are changing significantly. This is because with WebKit2, WebKit and the application run in different processes. The old QWebView widget will only be supported on Qt for desktops and won't use the new WebKit2. Mobile phone platforms typically won't…
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…
This week we switched to the new repository. Some pull requests from the old repository had to be resubmitted. Changes were committed for :
Patches to get code to compile with Qt 5 (still backwards compatible with Qt 4)
Adding Compass sensor suport
Renaming references to Callback or PhoneGap to Cordova
Changes to use QML WebView in the Qt 5 version
Pull requests are in review for Accelerometer support and Alerts. We're also moving to using a QML WebView for the Qt 4 version as there are some limitations with the C++ QWebView widget (at least on MeeGo Harmattan) that this will overcome…
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…
In the past week or so we commited some more code for Contacts and Notification. Camera support has been submitted as a pull request.
We are doing some testing on Symbian with a Nokia E7 phone as we haven't done much testing on Symbian up to now.
I updated the README.md file to better reflect the current status. I also added some links to the Wiki on Getting Started.
We posted a YouTube video of Wikipedia Mobile running on a Nokia N9 running Cordova Qt. This can be considered alpha quality. We ran into some issues with WebKit on Qt 4 on MeeGo…
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…
Wednesday, January 30, 2013 - 10:58
">
•
By ICS Development Team
•
One sometimes needs to store information in a temporary location. POSIX compliant platforms like Linux provide the tmpfile() library function to create a unique temporary file that is automatically deleted when it is closed or the program terminates. Qt provides an abstraction of this with the QTemporaryFile class.
Qt 5.0.0 introduces a new QTemporaryDir class that can create a temporary directory. The directory name is guaranteed to be unique and gets created by the constructor and removed in the destructor. Typically you create a QTemporaryDir on the…
Wednesday, January 30, 2013 - 10:55
">
•
By Jeff Tranter
•
Introduction
Now that Qt 5.0.0 is officially out, as an experiment to gain more experience with porting desktop applications from Qt 4 to Qt 5, I tried porting the example applications that came with the book C++ GUI Programming with Qt 4 by Jasmin Blanchette and Mark Summerfield.
I used the first edition of the book from 2006. There is a second edition that came out in 2008 but I didn't have a copy of it handy. The examples consist of about 60 qmake project files and approximately 14,000 lines of C++ code. The example code dates back to about 2006 and at the time Qt…