smurfy/fahrplan — pull request #59 by mzanetti (2013-05-31 22:23:11+00:00)
Title: Port to Ubuntu Touch

Hi, this contains the previous patch for compiling with Qt5 and a UI for Ubuntu Touch.

Additionally I had to do some smaller modifications when reading network data because special characters like Umlaute were not parsed correctly with Qt5. I have compiled the test app with Qt4 and Qt5 and both seem to work fine now while before only the Qt4 version decoded Umlaute correctly.

The UI is fully working with the exception of GPS support and the location button in SelectStation is removed. I didn't really try GPS on the Ubuntu Phone yet. There is a test app that seems to work but for now I don't consider that as very important.

Because there is no inverted theme on Ubuntu, the settings page is completely disabled right now but prepared to come back for the GPS setting. Right now, the toolbar button brings you directly to the about page.

There is a components folder that contains a DatePicker and a TimerPicker because those are not yet included in the Ubuntu SDK. Once the SDK contains some, they can be replaced.

I have taken the original icon and removed the Nokia squircle shape (fahrplan2-square.svg). In Ubuntu there is a UbuntuShape that gets applied at runtime and takes square pictures as input.

If compiling with standard Qt5 qmake, the test app will be built with Qt5. To enable the Ubuntu app, invoke qmake with CONFIG+=ubuntu

You can see a video of the whole thing here: http://notyetthere.org/?p=217
There is also a .deb package on the website in case you have an Nexus device and want to try farhplan on Ubuntu Touch yourself ;)