addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Json Load

From: German P.
Sent on: Wednesday, December 5, 2012 8:19 PM
Estimados:
   No encontré en foro sobre esto. Tengo un problema para cargar un JSON. 

//Usando el ejemplo que hay. 
 JsonDataAccess jda;
    QVariant list = jda.load("employeed.json");
//QVariant list = jda.load(QDir::currentPath() + "/app/native/assets/employees.json");

Puse en el .pro
LIBS += -lbbdata

Build project sin problema. 

Pero en el Dev Alpha (cuando veo el error).
Source not found: Failed to open Json input source.

Tambien habilite los permisos de share-file. 

A alguien se le ocurre que esta faltando (el archivo de employees.json esta). 

Muchas Gracias.

GP. 

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy