[mythtv] Trying to add QJson to mythfilldatabase, failing spectacularly.

Jean-Yves Avenard jyavenard at gmail.com
Fri May 25 15:53:23 UTC 2012


On 26 May 2012 01:07, Robert Kulagowski <rkulagow at gmail.com> wrote:
> QT 4.8, and Json isn't included natively until QT5, so installing qjson to help.
>
> I've added #include <QJson> to filldata.cpp
>
> I've modified mythfilldatabase.pro and added /usr/include/qjson to
> INCLUDEPATH and +LIBS += -lqjson

looking at the files installed by the packages,
this isn't a Qt library, it's a library using Qt on Qt.

you would need to do;
#include <qjson/parser.h>


More information about the mythtv-dev mailing list