Difference between revisions of "QML GUI"

From Navit's Wiki
Jump to: navigation, search
(Created page with 'QML gui is designed to be a modern and flexible replacement of internal gui. It is based on Qt's Declarative UI framework, therefore it could be run on ant Qt platform, including...')
 
Line 10: Line 10:
 
./configure --enable-gui-qml
 
./configure --enable-gui-qml
 
</pre>
 
</pre>
 +
 +
At the scripts output you should have the following lines:
 +
<pre>
 +
Graphics types: yes (default)
 +
  '''qt_qpainter:      yes (default)'''
 +
GUI types:
 +
  '''qml:              yes (configure parameter)'''
 +
</pre>
 +
 +
both of them are required for gui qml
  
 
[[Category:Gui]]
 
[[Category:Gui]]

Revision as of 09:43, 29 March 2010

QML gui is designed to be a modern and flexible replacement of internal gui. It is based on Qt's Declarative UI framework, therefore it could be run on ant Qt platform, including mobile platforms with touchscreens etc

Building

First of all - you have to install Qt 4.6 and a SNAPSHOT of a Declarative UI With snapshot mentioned above you have to use exactly Qt version 4.6.0, for other 4.6.x releases you have to manually checkout Declarative UI from git. Qt version 4.7 is unsupported yet.

When you have prepared your Qt environment, it's time to build Navit:

./configure --enable-gui-qml

At the scripts output you should have the following lines:

Graphics types: yes (default)
  '''qt_qpainter:       yes (default)'''
GUI types:
  '''qml:               yes (configure parameter)'''

both of them are required for gui qml