<div dir="ltr"><div>I uninstalled the qt4 folderlistmodel in the Sailfish OS emulator, and both deploying as binary or rpm still gave the same error. Then I reinstalled the Sailfish OS SDK, added the requirement for qt5-qtdeclarative-import-folderlistmodel to yaml and deployed as rpm. Now it works fine using rpm or binary. Not sure what went wrong the first time.<br>
<br></div><div>Thanks for the input.<br></div><div><br>Regards,<br></div>Peter<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 11:19 PM, Jonni Rainisto <span dir="ltr"><<a href="mailto:jonni.rainisto@jollamobile.com" target="_blank">jonni.rainisto@jollamobile.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">import Qt.labs.folderlistmodel 1.0<br>
works for me at least, only thing that I added was the line in spec file (or in yaml) and installed the rpm that I created (which pulled the requirements in).<br>
Requires:   qt5-qtdeclarative-import-folderlistmodel<br>
<br>
Most likely you just want to uninstall everything releated to qt4 and make sure that qt5-qtdeclarative-import-folderlistmodel is installed in right VM.<br>
<br>
re, Jonni<br>
<br>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:devel-bounces@lists.sailfishos.org" target="_blank">devel-bounces@lists.sailfishos.org</a> [<a href="mailto:devel-bounces@lists.sailfishos.org" target="_blank">devel-bounces@lists.sailfishos.org</a>] on behalf of P S [<a href="mailto:psappsdev@gmail.com" target="_blank">psappsdev@gmail.com</a>]<br>

<b>Sent:</b> Tuesday, August 20, 2013 8:54 AM<br>
<b>To:</b> <a href="mailto:devel@lists.sailfishos.org" target="_blank">devel@lists.sailfishos.org</a><br>
<b>Subject:</b> [SailfishDevel] FolderListModel errors<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>Hi,<br>
<br>
</div>
I am using the QML FolderListModel in my application. Using zypper, I installed libqtdeclarative4-folderlistmodel but it gave the following error: 

<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:9pt;color:rgb(170,0,0)">module "Qt.labs.folderlistmodel" is not installed</span></p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px">Since the new SDK offers some Qt5 and QtQuick2 support, I then also installed qt5-qtdeclarative-import-folderlistmodel on the emulator, but I keep getting the same error.</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px">Any suggestions?</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px">Regards,</p>
<p style="margin:0px;text-indent:0px">Peter<br>
</p>
<span style="color:rgb(0,128,0)"></span><span style="color:rgb(0,128,0)"></span></div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div>