QML2 GUI

From Navit's Wiki
Jump to: navigation, search

The QML2 UI is a new UI being currently developed to provide a more modern look and feel to Navit.

Tablet / PC Mobile UI
Qml2.gif Gui qml drawer popup.gif

Prerequisites

The QML2 UI is currently developed against QT 5.7

The easiest way to install QT 5.7 (or greater) is probably to use the QT online installer.

For linux, https://download.qt.io/archive/online_installers/2.0/qt-unified-linux-x64-2.0.5-2-online.run.mirrorlist

For other platforms, https://download.qt.io/archive/online_installers/2.0/

Enabling the QML2 ui

Once you compiled Navit, you can enable the QML2 ui from navit.xml.

  • Change your graphics driver to qt5 :
<graphics type="qt5"/>
  • Enable the QML2 UI :
<gui type="qt5_qml" enabled="yes" />
  • Disable the internal UI :
<gui type="internal" enabled="no">