It sounds like a problem with your control file. Did you add libqjson to Depends and libqjson-dev to Build-Depends?