maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Sailfish SDK] QtQuick.XmlListModel not installed? (https://talk.maemo.org/showthread.php?t=91116)

sony123 2013-08-23 13:17

[Sailfish SDK] QtQuick.XmlListModel not installed?
 
Would like to use XmlListModel and put the following line in the source:

Code:

import QtQuick.XmlListModel 2.0
But when compiling I got this error:

Code:

"QtQuick.XmlListModel" is not installed
    import QtQuick.XmlListModel 2.0

How to fix this?

mikecomputing 2013-08-23 19:46

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
In QtCreator (sailfishSdk):

press sailfishos ikon

and search for xmllistmodel it will show:

qt5-qtdeclarative-import-xmllistmodel

press install.

sony123 2013-08-23 20:52

Thanks, somehow when I clicked on that QtCreator just said SDK VM not started. I suppose I can do 'zypper install [package name]' in the console, right?

Khertan 2013-08-23 22:36

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
Quote:

Originally Posted by sony123 (Post 1368999)
Thanks, somehow when I clicked on that QtCreator just said SDK VM not started. I suppose I can do 'zypper install [package name]' in the console, right?

nope ... zypper will install in host vm and inside the target in the host vm ...

launch the sdk vm ... and use the ui interface ... will be easier

sony123 2013-08-24 04:12

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
For some reasons even if I have started the Mer SDK (and have working connection because I can compile the project), clicking on the SailfishOS icon still says:

The SDK VM is not responding. Create a new SailfishOS project (or open an existing one) and press the Start SDK button on the lower left.

Any suggestion on how to fix this issue?

mikecomputing 2013-08-24 12:26

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
Quote:

Originally Posted by sony123 (Post 1368999)
Thanks, somehow when I clicked on that QtCreator just said SDK VM not started. I suppose I can do 'zypper install [package name]' in the console, right?

Yes you can do it via zypper but then you have to do it both in mersdk and emulator. So its recommended do it in qtcreator.

The problem with SDK :

just click yes when it says: "sdk not running" and it will start it.

and then goto sailfishos icon page and write localhost:8080 in the URL line it may take some time for it to respond. Actually its a webkit browser there and they use some rubyonrails backend in mersdk. Hope they fix the issues and makes it faster. Or ever rewrite the client in QML instead to give beter feedback whats happening.

I also recommend you to visit IRC channels on freenode.net channels like #mer and #sailfishos gives you help :)

No.User 2014-01-22 21:27

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
Sorry but I am too stupid to find this search field. I am using Qt Creator on a Mac and when I am opening the SDK Control Center there is nothing where I could do a search. So could you be so nice and post a step by step guide?

Thanks a lot!

mariusmssj 2014-01-22 21:42

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
Quote:

Originally Posted by No.User (Post 1408317)
Sorry but I am too stupid to find this search field. I am using Qt Creator on a Mac and when I am opening the SDK Control Center there is nothing where I could do a search. So could you be so nice and post a step by step guide?

Thanks a lot!

There you go buddy :)

8 steps

Don't miss step 4 at the bottom to start Mer SDK


http://i.imgur.com/tedbikk.png

No.User 2014-01-22 21:48

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
Thanks a lot! I really feel stupid for not getting that the SDK can be managed...

mariusmssj 2014-01-22 22:01

Re: [Sailfish SDK] QtQuick.XmlListModel not installed?
 
Quote:

Originally Posted by No.User (Post 1408320)
Thanks a lot! I really feel stupid for not getting that the SDK can be managed...

NO worries I was like that too, if you stick at all you'll learn loads. Don't be afraid to ask for help no matter how silly you think your question is!


All times are GMT. The time now is 17:23.

vBulletin® Version 3.8.8