From Navit's Wiki
Revision as of 10:09, 4 April 2010 by Tiiiim (talk | contribs)
Jump to: navigation, search

Attempts at incorporating the QML GUI into Navit

These are my notes when attempting to get the QML GUI working. To be used when writing a proper wiki page about it...


Acer One netbook, 160GB HDD, 1GB RAM, Intel Atom processor.
Ubuntu 9.10
latest Navit from SVN

Step 1 - Installing Qt

Finding and downloading


Using instructions from In a terminal:

cd ~/src/qt-everywhere-opensource-src-4.7.0-tp/
  • During configure:
    • Asks what type to use: Commercial or Open Source. Selected Open Source ('o')
    • Asks to accept licence: Chose 'yes'
  • Configuring... took ~14 minutes

Making and Installing

In terminal:

  • Making... took ~5.5hrs (I'm not joking!)

In terminal:

sudo make install
  • Installing... ~15 mins

Configuring the Environment

Again, using instructions from In a terminal:

export PATH

To check the PATH, in terminal:

bash: /usr/local/Trolltech/Qt-4.7.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory

Step 2 - Re-building Navit

Moving to Navit folder and updating from SVN. Also autogen, configure and making. Configure is with special switch from In terminal:

cd ~/src/navit
svn up && ./ && ./configure --enable-gui-qml && make
  • Checked during the configure routine for:
Graphics types: yes (default)
  qt_qpainter:       yes (default)
GUI types:
  qml:               yes (configure parameter)
  • Eeerm, no. Saw:
Graphics types: yes (default)
  qt_qpainter:       no (Package qt-mt present)
GUI types:
  qml:               no (Packages QtGui and/or QtCore missing)