QtGstreamer

George Kiagiadakis kiagiadakis.george at gmail.com
Mon Dec 5 13:56:21 PST 2011


On Mon, Dec 5, 2011 at 4:03 PM, rui luis <rui.luis at gmail.com> wrote:
> hi.
>
> I cross compiled gstreamer in linux using mingw, then i use it in a qt
> project in windows. it worked perfectely. Then i try to use qtgstreamer. i
> couldnt cross compile it in linux. therefore i compile it in windows using
> visual studio and the oosbuild for gstreamer and i was able to generate the
> dlls for qtgstreamer. However when i try to use it in a qt project it gives
> the error of "undefined reference to _imp___ZNQGST4INIT.." just by doing
> QGST::init()
>

If you compile QtGStreamer with msvc, then you also have to compile Qt
and your Qt application (and any other C++ library that you may be
using) with msvc, otherwise it will fail to link. The reason is that
the C++ symbols are mangled differently in the two compilers.


More information about the gstreamer-devel mailing list