[mythtv] Problems getting qmake to generate dependencies

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Mon Dec 19 13:14:07 EST 2005

On 12/19/05, Geoffrey Hausheer wrote:
> Does anyone understand how qmake works?
> I've read all the docs, and as far as I can tell mythtranscode.pro is
> corrct, but qmake is not generating the propper dependencies for
> mpeg2fix.cpp.  It only includes avformat.h and not mpeg2.h, avcodec.h
> or (most importantly) replex/multiplex.h, replex/mpg_common.h, and
> replex/ringbuffer.h (all included from within mpeg2fix.h)
> I have no idea why, but it causes mythtranscode to be built
> incorrectly when those header files change, causing users to see bugs
> that I can't reproduce.
Well, i've solved it.

Apparently even with INCLUDEPATH set appropriately, qmake doesn't like:
#include "avcodec.h"
#include "libavcodec/avcodec.h"
 But it does work with
#include "../libavcodec/libavcodec.h"

Ah well.

More information about the mythtv-dev mailing list