<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">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-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF675540"><font color="#000000" face="Tahoma" size="2"><b>From:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] on behalf of P S [psappsdev@gmail.com]<br>
<b>Sent:</b> Tuesday, August 20, 2013 8:54 AM<br>
<b>To:</b> devel@lists.sailfishos.org<br>
<b>Subject:</b> [SailfishDevel] FolderListModel errors<br>
</font><br>
</div>
<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:
<style type="text/css">
<!--
p, li
{white-space:pre-wrap}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style>
<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>
</body>
</html>