[vlc-devel] Qt 4 vs. 5 (breaks cross-compiling)

Wolfgang Hrauda wolfgang.hrauda at gmx.at
Tue Oct 7 12:54:12 CEST 2014


Hello,

I am cross-compiling VLC 3.0.0-git for Windows 32-bit using i686-w64-mingw32. Which version of Qt should be used? 4.x or 5.x?
Because the final make command results in an error with the libqt4_plugin that looks like a mess-up between version 4 and 5…?!?
Any ideas how to resolve this?

>  #    if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP
>                         ^
>   CXX      libqt4_plugin_la-resources.lo
>   CXXLD    libqt4_plugin.la
> /home/andreasfuchs/vlc_nosofa/vlc/contrib/i686-w64-mingw32/lib/libQt5Core.a(qcoreapplication.o):qcoreapplication.cpp:(.text+0x35c8): undefined reference to `__cxa_throw_bad_array_new_length'
> /home/andreasfuchs/vlc_nosofa/vlc/contrib/i686-w64-mingw32/lib/libQt5Core.a(qobject.o):qobject.cpp:(.text+0xbe2): undefined reference to `__cxa_throw_bad_array_new_length'
> /home/andreasfuchs/vlc_nosofa/vlc/contrib/i686-w64-mingw32/lib/libQt5Core.a(qobject.o):qobject.cpp:(.text+0x8d9c): undefined reference to `__cxa_throw_bad_array_new_length'
> /usr/bin/i686-w64-mingw32-ld: /home/andreasfuchs/vlc_nosofa/vlc/contrib/i686-w64-mingw32/lib/libQt5Core.a(qobject.o): bad reloc address 0x350 in section `.rdata'
> collect2: error: ld returned 1 exit status
> make[7]: *** [libqt4_plugin.la] Error 1

I posted more details on the forum (https://forum.videolan.org/viewtopic.php?f=32&t=122022), but got no answer so far.
Thank you!

Regards,
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20141007/7912a94b/attachment.html>


More information about the vlc-devel mailing list