navit-project.org

forum for navit navigation tool
It is currently 18 Nov 2017, 00:47
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Ubuntu Touch
PostPosted: 20 Jun 2013, 19:32 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
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.


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 21 Jun 2013, 09:34 
Offline
User avatar

Joined: 07 Jun 2013, 09:32
Posts: 200
Location: Rostock, North Germany
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 ;)


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 01 Jul 2013, 05:43 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
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.


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 01 Jul 2013, 07:55 
Offline
User avatar

Joined: 07 Jun 2013, 09:32
Posts: 200
Location: Rostock, North Germany
Sad to hear :( But anyway, thank you very much for giving it a try!


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 01 Jul 2013, 16:00 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
Well, I will keep on trying ;)


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 29 Jul 2013, 18:44 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
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...


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 30 Jul 2013, 12:34 
Offline
User avatar

Joined: 07 Jun 2013, 09:32
Posts: 200
Location: Rostock, North Germany
Mhh for Maemo, a QT5 port would be usefull, too as it would allow better integration of the UI.


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 30 Jul 2013, 22:14 
Offline

Joined: 23 Jun 2013, 20:15
Posts: 65
Location: Essen, Germany
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.


 Profile  
 
 Post subject: Re: Ubuntu Touch
PostPosted: 30 Jul 2013, 23:37 
Offline
User avatar

Joined: 07 Jun 2013, 17:13
Posts: 146
Location: Tartu, Estonia
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...


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS