The cmake configuration step does not check if libqjson headers are installed, but compilation of okular fails if they are unavailable. Reproducible: Always Steps to Reproduce: 1. Run cmake without libqjson-dev installed 2. No error from the configure step 3. make Actual Results: Error from ld: -lqjson can't be found Expected Results: Compilation works After installing libqjson-dev, compilation worked as expected. I would have expected cmake to check for libqjson header availability and error out. Thank you for developing okular, it is very much appreciated!
This is latest okular from git as of 2015-08-06.
kdeunstable@xps:~/okular:master$ wcgrep qjson kdeunstable@xps:~/okular:master$ ?
Created attachment 93922 [details] build/CMakeFiles/okularcore.dir/link.txt
build/CMakeFiles/okularcore.dir/link.txt is where qjson gets mentioned. It is attached.
(In reply to Carl-Daniel Hailfinger from comment #4) > build/CMakeFiles/okularcore.dir/link.txt is where qjson gets mentioned. It > is attached. Could you please also paste the output of git show --summary ?
$ git show --summary commit 346e7a32eab9c00333794aca590a4a5bb8954bfd Merge: ba28b64 e2b5bc5 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 6 00:31:59 2015 +0200 Merge remote-tracking branch 'origin/Applications/15.08' Conflicts: VERSION core/document.cpp core/version.h
The qjson dep (most likely) comes from elsewhere, libkscreen : # LibKScreenTargetsWithPrefix-release.cmake: IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE "Qt4::QtCore;-lpthread;KDE4__kdecore;qjson" (at least on my fedora systems it does)
As Rex says, not an Okular bug.