[mythtv] Re: compiling mythtv frontend for cygwin
Ian Caulfield
imc25 at cam.ac.uk
Tue Sep 28 11:09:52 EDT 2004
I've never needed to include the GDI libraries... I think they ought to be
sorted out automatically with Qt... but then I haven't had much luck with
the latest versions of qt/cygwin...
I
On Tue, 28 Sep 2004, Mario L wrote:
> Okay major break though, GDI libraries weren't included in libmyth.pro:
>
> //mythCVS/libs/libmythtv/libmythtv.pro
>
> LIBS += -lmyth-$${LIBVERSION} -lmythavcodec-$${LIBVERSION}
> -lmythavformat-$${LIBVERSION} $$EXTRA_LIBS
>
> TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
> TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
> TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
>
> /*to*/
> !win32{
> LIBS += -lmyth-$${LIBVERSION} -lmythavcodec-$${LIBVERSION}
> -lmythavformat-$${LIBVERSION} $$EXTRA_LIBS
>
> TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
> TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
> TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
> }
> win32{
> LIBS += -lmyth-$${LIBVERSION}-0 -lmythavcodec-$${LIBVERSION}-0
> -lmythavformat-$${LIBVERSION}-0 $$EXTRA_LIBS
> LIBS += -L/usr/include/w32api -lgdi32
>
> TARGETDEPS += ../libmyth/cygmyth-$${LIBVERSION}-0.$${QMAKE_EXTENSION_SHLIB}
> TARGETDEPS += ../libavcodec/cygmythavcodec-$${LIBVERSION}-0.$${QMAKE_EXTENSION_SHLIB}
> TARGETDEPS += ../libavformat/cygmythavformat-$${LIBVERSION}-0.$${QMAKE_EXTENSION_SHLIB}
> }
>
> LibmythTV now links along with every other library :)
>
More information about the mythtv-dev
mailing list