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.
Thanks for the input. Regards, Peter On Mon, Aug 19, 2013 at 11:19 PM, Jonni Rainisto < jonni.raini...@jollamobile.com> wrote: > 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