Thread: Navit on N900
View Single Post
Posts: 54 | Thanked: 47 times | Joined on Dec 2012
#671
Hey, I need some help with QML

I installed the last version (5283), following the #511 post instructions and the configuration files from the navit-install.txt script.

Works with the internal gui, but when I set the qt gui it fails with:

Code:
/home/user# cat log.txt 
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:vehicle_ref:refcount 2
navit:vehicle_unref:refcount 1
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
gui_qml:int gui_qml_set_graphics(gui_priv*, graphics*):
FATAL: Environment variable NAVIT_XID not set.
       Please set NAVIT_XID to the window ID of the window to embed into.
I edited the navit.xml, just disabled the internal gui, and added
Code:
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/" />
How do I fix it?Am I the only one with this?