Re: [SailfishDevel] 无法发布到手机

2013-06-09 Thread Jarko Vihriala
Yes this is a known issue and we're working on it. The build flow 
would be

0. Launch Sailfish OS IDE
1. run the app wizard (or create empty project)
2. click 'Play'
3. accept dialog of Build VM not running
4. again click 'Play'
5. accept dialog of Emulator VM not running
6. and then finally click Play.

- App should run in emulator. If you encounter problems make sure you 
have correct version on VirtualBox installed (4.2 or newer is recommened).


If the VM is not started by Qt Creator it might not recognize them 
running (it should though - report a bug in VirtualBox's APIs..) so 
shutting them down in that case might help.


thanks, Jarko

On 06/06/2013 07:29 PM, z...@ovi.com wrote:

Hi,

Probably the SailfishOS Emulator is currently not running, because the 
error is saying:


*16:47:22: Virtual Machine 'SailfishOS Emulator' is not running!*

So, you need to check it first and make sure it is running.
1, If no, you should start it. by either click the Start Emulator 
button on the bottom left of SailfishOS IDE(qt-creator) or start it 
via VirtualBox manually.


2, If yes, maybe you can stop it and click that button to restart it, 
then try to deploy again. (not sure if it will work, just guessed).


Good luck!

Br,
zhxt


--- On *Wed, 6/5/13, 汪福东 /fudong.w...@aidufei.com/* wrote:


From: 汪福东 fudong.w...@aidufei.com
Subject: [SailfishDevel] 无法发布到手机
To: devel@lists.sailfishos.org
Date: Wednesday, June 5, 2013, 4:48 PM

16:47:22: Checking whether to start Emulator...

*16:47:22: Virtual Machine 'SailfishOS Emulator' is not running!*

*16:47:25: **部署步骤失败。*

Error while building/deploying project FF (kit:
MerSDK-SailfishOS-i486-x86)

当 执行步骤'Start Emulator, if necessary'时


-Inline Attachment Follows-

___
SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list



--
We are #unlike.
Jolla Oy, http://www.jolla.com

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] handle json data

2013-06-09 Thread Lucien XU
Hello !

Install qjson-devel (or something like that), and add
CONFIG += link_pkgconfig
PKGCONFIG += QJson

in your pro file.
And use

#include qjson/parser.h

Documentation for QJson is here: 
http://qjson.sourceforge.net/docs/

Cheers,
Lucien


Le vendredi 7 juin 2013 16:27:06 汪福东 a écrit :
 How can I use QML ListModel receive json datas?
___
SailfishOS.org Devel mailing list