Compilation of a project with Qt 5.5.1 missing gstreamer0.10 (for Qt5WebKitWidgets)



  • Hi,
    I've just got a brand new laptop at work where a fresh Debian 9 has been installed.
    I need to continue to support a project developed with Qt 5.5.1 (use of Qt5WebKitWidgets)
    My problem is that it is missing the dependency on gstreamer0.10. In fact Debian has moved to the version 1.0 and don't know how I could install the old version and which packages in detail would be necessary.
    Any idea what I should do?
    Cheers

    PS: here are my compilation issues:

    :-1: warning: libgstapp-0.10.so.0, needed by /opt/Qt/5.5/gcc_64/lib/libQt5WebKitWidgets.so, not found (try using -rpath or -rpath-link)
    :-1: warning: libgstinterfaces-0.10.so.0, needed by /opt/Qt/5.5/gcc_64/lib/libQt5WebKitWidgets.so, not found (try using -rpath or -rpath-link)
    :-1: warning: libgstpbutils-0.10.so.0, needed by /opt/Qt/5.5/gcc_64/lib/libQt5WebKitWidgets.so, not found (try using -rpath or -rpath-link)
    :-1: warning: libgstvideo-0.10.so.0, needed by /opt/Qt/5.5/gcc_64/lib/libQt5WebKitWidgets.so, not found (try using -rpath or -rpath-link)
    :-1: warning: libgstbase-0.10.so.0, needed by /opt/Qt/5.5/gcc_64/lib/libQt5WebKitWidgets.so, not found (try using -rpath or -rpath-link)
    :-1: warning: libgstreamer-0.10.so.0, needed by /opt/Qt/5.5/gcc_64/lib/libQt5WebKitWidgets.so, not found (try using -rpath or -rpath-link)
    
    /opt/Qt/5.5/gcc_64/lib/libQt5WebKit.so:-1: error: undefined reference to `gst_element_add_pad'
    /opt/Qt/5.5/gcc_64/lib/libQt5WebKit.so:-1: error: undefined reference to `gst_object_ref'
    ...
    

  • Lifetime Qt Champion

    Hi,

    You should consider re-building QtWebkit and QtMultimedia with GStreamer 1.0.

    Or change distribution and use an older one that provides GStreamer 0.1.



  • Great, I've compiled qtwebkit-opensource-src-5.5.1, and after a little struggle (several packages to install like uic, flex, libxrender,...) it has finally built.
    I've replaced the produced library in /opt/Qt/5.5/gcc_64/lib
    and now my project is compiling and running!
    Cheers


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.