The zypper in approach is fine - but it's also pretty easy to use the Control Center.
In QtCreator go to the Targets area on the Sailfish Control Centre page and click 'manage' by the target you are using. Type "json devel" into the box... click "install" on the one you want This also takes care to ensure that QtCreator can see the header files and allows tab completion to work. David On 19/08/13 13:07, Jonni Rainisto wrote: > Hi, > > zypper in inside the sb2 rootfs as mentioned in quite a many posts in here, > but > you can just simply add following build requires depency into your projects > .yaml file, that way qt creator will install headers automaticly for you when > you compile. (PkgBR) > > qjson-devel > > > br, Jonni > -------------------------------------------------------------------------------- > *From:* devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] > on behalf of Dimitris [sarlis....@gmail.com] > *Sent:* Monday, August 19, 2013 2:53 PM > *To:* devel@lists.sailfishos.org > *Subject:* [SailfishDevel] Using QJson in Sailfish OS > > Hello! > > I am trying to use QJson in my app. But I don't know what I should do to > install > QJson and how I can use it afterwards. I followed the instructions here > <https://lists.sailfishos.org/pipermail/devel/2013-June/000352.html> but it > doesn't seem to work. > > Cheers, > Dimitris > > > _______________________________________________ > SailfishOS.org Devel mailing list > _______________________________________________ SailfishOS.org Devel mailing list