Important: Please read the Qt Code of Conduct -

[SOLVED] Compilation errors in "fancy web browser" example project

  • Hi all!
    I'm new to Qt (v5.2) but have been developing c# .net based apps for windows for quiet a time. I chose fancy web browser to start with (as I need to make an automated web browser app myself) but compiling the example project resulted in following errors:

    @/usr/bin/ld: cannot find -lgstapp-0.10
    /usr/bin/ld: cannot find -lgstinterfaces-0.10
    /usr/bin/ld: cannot find -lgstpbutils-0.10
    /usr/bin/ld: cannot find -lgstvideo-0.10
    /usr/bin/ld: cannot find -lgstbase-0.10
    /usr/bin/ld: cannot find -lgstreamer-0.10
    collect2: error: ld returned 1 exit status
    make: *** [fancybrowser] Error 1
    23:56:20: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project fancybrowser (kit: Desktop Qt 5.2.0 GCC 64bit)
    When executing step 'Make'@

    I think its some library that's missing but isn't it supposed to be there by default? can anyone please guide me if there is a direct way to install the missing libraries (through terminal may be)

    Awais Niazi

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You are missing various gstreamer dev libraries. They are not installed by default on any distribution (unless you're using Gentoo/a Gentoo derived distro).

    Without knowing what linux flavour you are using its not possible to know which command to use to install anything.
    However, you can use the package manager from you OS to install them

  • i'm using ubuntu 13.10
    I used package manager to install various gstreamer plugins (nearly all of them) but still getting the same errors. can you please pinpoint the ones I need?

    UPDATE: Installing gstreamer libs from development tools section worked!! thanks a lot for help :)

  • Lifetime Qt Champion

    You're welcome !

    Indeed, it's the same package set but with a "-dev" added

    Since it working now, please update thread title prepending [solved] so other forum users may know a solution has been found :)

Log in to reply