import Qt.labs.folderlistmodel 1.0
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).
Requires:   qt5-qtdeclarative-import-folderlistmodel

Most likely you just want to uninstall everything releated to qt4 and make sure 
that qt5-qtdeclarative-import-folderlistmodel is installed in right VM.

re, Jonni

________________________________
From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of P S [psapps...@gmail.com]
Sent: Tuesday, August 20, 2013 8:54 AM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] FolderListModel errors

Hi,

I am using the QML FolderListModel in my application. Using zypper, I installed 
libqtdeclarative4-folderlistmodel but it gave the following error:

module "Qt.labs.folderlistmodel" is not installed


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.


Any suggestions?


Regards,

Peter
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to