<div>Hi,<br></div><div><br></div><div>I have used this another code and works fine: 

<a href="http://paste.kde.org/477488/">http://paste.kde.org/477488/</a>

</div><div><br></div><div>Regards!</div><br><div class="gmail_quote">2012/5/13 marble_developer marble_developer <span dir="ltr"><<a href="mailto:marbledeveloper@gmail.com" target="_blank">marbledeveloper@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,<br></div><div><br></div><div>Discussing this subject with the developers on IRC I have updated my code, now I'm using Marble::GeoDataTreeModel::addFeature() instead of Marble::MarbleModel::setTrackedPlacemark().</div>

<div><br></div><div>My new code: <a href="http://pastebin.com/GEPim00a" target="_blank">http://pastebin.com/GEPim00a</a>

</div><div class="im"><div><br></div><div>But no line is shown.</div><div><br></div><div>What's wrong?</div></div><div><br>Regards.<br></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">2012/5/6 marble_developer marble_developer <span dir="ltr"><<a href="mailto:marbledeveloper@gmail.com" target="_blank">marbledeveloper@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>I hope that we could learn a lot of Marble!<br><div><br></div><div>I'm using this code to add placemarks to MarbleWidget: <a href="http://pastebin.com/ggEuwhQK" target="_blank">http://pastebin.com/ggEuwhQK</a></div>


<div><br></div><div>ui->widget is a pointer to MarbleWidget.</div><div><br>But no line is shown. What's wrong? Can you put me an example? I have read about it and I have seen the documentation but is not clear for me.</div>


<div><br></div><div>Best regards.</div></div>
</blockquote></div><br>
</div></div></blockquote></div><br>