[mythtv] Trying to add QJson to mythfilldatabase, failing spectacularly.
Gavin Hurlbut
gjhurlbu at gmail.com
Fri Jul 6 15:34:49 UTC 2012
On Fri, Jul 6, 2012 at 8:07 AM, Robert Kulagowski <rkulagow at gmail.com> wrote:
> On Sat, Jun 23, 2012 at 5:42 PM, Gavin Hurlbut <gjhurlbu at gmail.com> wrote:
>> Just a wee update here. Qjson is now in external for the zeromq logging,
>> and is available for other users too.
>
> OK, I don't see any actual calls to qjson though; if I was doing this before:
>
> #include <qjson/parser.h>
>
> (using the headers installed by the official qjson), then how should I
> use the qjson that's in external? It doesn't look like parser.h from
> qjson is moved into /usr/local/include
Look at how I included it in libmythbase/logging.cpp and
libmythbase/loggingserver.cpp. The include directories inside
external have been added into the qmake setup as well so we actually
aren't compiling against installed headers, but rather against local
headers that we later install in the "make install" step. I believe I
used:
#include "QJson/Parser"
which uses a C++ shell around the parser.h to be more consistent with Qt headers
More information about the mythtv-dev
mailing list