teev-qt: don't use libjsoncpp if we're building against QT5 or later