The Following 3 Users Say Thank You to marmistrz For This Useful Post: | ||
![]() |
2014-02-10
, 18:31
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#2
|
![]() |
2014-02-10
, 18:33
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#3
|
![]() |
2014-02-10
, 18:34
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#4
|
What is it? I think some sort of description is good for Fremantle apps, as the N900 has very limited rootfs space.
QJson is a qt-based library that maps JSON data to QVariant objects: JSON arrays will be mapped to QVariantList instances, while JSON objects will be mapped to QVariantMap.
![]() |
2014-02-10
, 19:32
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#5
|
![]() |
2014-08-09
, 14:41
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#6
|
I've just ported QJson 0.8.1 to Fremantle. It's not tested yet and armel only (some optify problems on i386). It's in extras-devel
![]() |
2014-08-09
, 15:09
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#7
|
Newbie question here: if I wanted to use this library from within Qt Creator, what would be the best way to go about it? I could probably "install" the QJson package into the Qt Maemo sysroot by hand, but I'm kind of hoping that there's a more elegant method available...
/path/to/mad-admin xdpkg -i package_0.0.1_armel.deb
The Following 3 Users Say Thank You to marxian For This Useful Post: | ||
![]() |
2014-08-09
, 17:39
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#8
|
You can use mad-admin (located under Maemo/4.6.2/bin/) to install debian packages using dpkg:
Code:/path/to/mad-admin dpkg -i package_0.0.1_armel.deb
dpkg-shlibdeps: failure: no dependency information found for /Users/john/QtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/lib/libqjson.so.0 (used by debian/linguine/opt/linguine/bin/linguine). dh_shlibdeps: command returned error code 512 make: *** [binary-arch] Error 1 Packaging Error: Command '/Users/john/QtSDK/Maemo/4.6.2/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2 Error while building project linguine (target: Maemo5) When executing build step 'Create Debian Package'
![]() |
2014-08-09
, 18:33
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#9
|
Thank you! I'm getting closer, but not quite there yet. I spent a few hours fighting with mad-admin, who refused to acknowledge the existence of "dpkg" (even though it was sitting right in the "madbin" directory). However, it did show the command "xdpkg" being available, and so I gave that a try. I was able to install the qjson0 debian package using this, and successfully compiled against it. But now, when I try to install a binary to my N900, I'm getting a "no dependency information found" error. My initial assumption here is that this is a side-effect of not using dpkg... Anyway, here's the error message:
Any hints as to what I need to investigate next?Code:dpkg-shlibdeps: failure: no dependency information found for /Users/john/QtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/lib/libqjson.so.0 (used by debian/linguine/opt/linguine/bin/linguine). dh_shlibdeps: command returned error code 512 make: *** [binary-arch] Error 1 Packaging Error: Command '/Users/john/QtSDK/Maemo/4.6.2/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2 Error while building project linguine (target: Maemo5) When executing build step 'Create Debian Package'
The Following User Says Thank You to marxian For This Useful Post: | ||
![]() |
2014-08-09
, 19:36
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#10
|
If you want to support my work, you can donate by PayPal or Flattr
Projects no longer actively developed: here