navit-project.org
http://forum.navit-project.org/

Ubuntu Touch
http://forum.navit-project.org/viewtopic.php?f=17&t=408
Page 1 of 1

Author:  xenos1984 [ 20 Jun 2013, 19:32 ]
Post subject:  Ubuntu Touch

Has anyone already checked out Ubuntu Touch and tried to run Navit? If not, I might be the first ;)

I ordered a Nexus 7 and plan to install Ubuntu Touch, and then of course to install and run Navit. The standard way to do this should be compiling Navit natively on the device, since Ubuntu packages are usually built that way. This is also what I will try first. But later it would of course be interesting to see whether one can cross compile Navit, and provide an Ubuntu binary package for mobile devices.

Author:  usul [ 21 Jun 2013, 09:34 ]
Post subject:  Re: Ubuntu Touch

Would be nice to see Navit on one more platform :)

But sadly here we see all the problems with the mobile platform clutter. Are there any plans to focus/abandone some platforms? I'm very ok with the current situation, but AFAIK we don't maintain all of our builds actively. But maybe this is a to explosive topic and should be discussed seperately ;)

Author:  xenos1984 [ 01 Jul 2013, 05:43 ]
Post subject:  Re: Ubuntu Touch

After checking out Ubuntu Touch and trying to get Navit working, I came to the conclusion that it's not working yet, but not completely hopeless either. So far it seems that none of Navit's graphics output drivers (SDL, GTK, Qt4) is supported yet. Ubuntu Touch does not use an X11 server, but uses MIR instead. It comes with some Qt5 libraries. So maybe one can get Navit to use Qt5, as an alternative to Qt4? I can try to implement this with autotools, but unfortunately have to idea how to do it with cmake. Besides, I have no idea (yet) whether there are any essential differences between Qt4 and Qt5.

Author:  usul [ 01 Jul 2013, 07:55 ]
Post subject:  Re: Ubuntu Touch

Sad to hear :( But anyway, thank you very much for giving it a try!

Author:  xenos1984 [ 01 Jul 2013, 16:00 ]
Post subject:  Re: Ubuntu Touch

Well, I will keep on trying ;)

Author:  xenos1984 [ 29 Jul 2013, 18:44 ]
Post subject:  Re: Ubuntu Touch

Porting from Qt4 to Qt5 is not nearly as straightforward as I thought, and reading the docs is a true pain in the back. Actually I have no idea what the classes are doing that I'm supposed to use in Qt5 in replacement for classes in Qt4, which I don't understand either. The "porting guide" doesn't help me either - I followed it closely, but with no success.

If anyone has a more profound knowledge on Qt and Qt5 in particular, any help is highly appreciated. The modules graphics/qt_qpainter and gui/qml are the ones that need to be ported, they are making problems...

Author:  usul [ 30 Jul 2013, 12:34 ]
Post subject:  Re: Ubuntu Touch

Mhh for Maemo, a QT5 port would be usefull, too as it would allow better integration of the UI.

Author:  sleske [ 30 Jul 2013, 22:14 ]
Post subject:  Re: Ubuntu Touch

xenos1984 wrote:
The modules graphics/qt_qpainter and gui/qml are the ones that need to be ported, they are making problems...


Actually, I believe it should be enough to port graphics/qt_qpainter. The internal GUi should run on top of qt_qpainter.

I made gui/qml compile again and tested it. Then it barely worked, even on Linux. So you can probably ignore it for now.

Author:  xenos1984 [ 30 Jul 2013, 23:37 ]
Post subject:  Re: Ubuntu Touch

Actually I already managed to port graphics/qt_painter - unfortunately not with the desired result, which is why I tried to port gui/qml as well. Using graphics/qt_painter with the internal GUI gives me a "background-colored" display (as if no map data is present), even though, according to the log file, a map has been loaded, map tiles have been read and drawn. And I don't get any reaction on touch input...

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/