Package Details: qjson 0.9.0-4

Git Clone URL: https://aur.archlinux.org/qjson.git (read-only, click to copy)
Package Base: qjson
Description: A Qt4-based library that maps JSON data to QVariant objects
Upstream URL: http://qjson.sourceforge.net
Licenses: GPL
Submitter: arojas
Maintainer: rarvolt
Last Packager: rarvolt
Votes: 14
Popularity: 0.000684
First Submitted: 2019-05-01 09:16 (UTC)
Last Updated: 2022-08-30 00:35 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

vitaliikuzhdin commented on 2025-05-20 12:16 (UTC)

Could you please build it against Qt4? Qt5 builds append a -qt5 suffix, so it makes more sense to have a separate package for that: qjson-qt5. This package is only needed for Qt4 builds anyway.

https://gist.github.com/vitaliikuzhdin/751884976027d817eec645d75ba28fd1

micwoj92 commented on 2025-05-19 21:19 (UTC)

Build fails:

CMake Error at CMakeLists.txt:6 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

micwoj92 commented on 2025-03-13 18:10 (UTC)

Please use spdx license identifier.

Xwang commented on 2019-11-27 23:48 (UTC)

Why not using qt5-base instead of qt4?

Maintainer: Antonio Rojas arojas@archlinux.org
Contributor: Andrea Scarpino andrea@archlinux.org

pkgname=qjson pkgver=0.9.0 pkgrel=3 pkgdesc="A Qt4-based library that maps JSON data to QVariant objects" arch=(x86_64) license=(GPL) url="http://qjson.sourceforge.net" depends=(qt5-base) makedepends=(cmake) source=($pkgname-$pkgver.tar.gz::"https://github.com/flavio/qjson/archive/$pkgver.tar.gz") sha256sums=('e812617477f3c2bb990561767a4cd8b1d3803a52018d4878da302529552610d4')

prepare() { mkdir -p build }

build() { cd build cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make }

package() { cd build make DESTDIR="$pkgdir" install }