QVFB tool - How to build it if not present on my linux platform ?



  • Hello everybody,
    I 'm wondering if the QVFB tool is part of Qt SDK package only or is it also belonging to Qt lib package ?
    Does this tool only concern Qt for embedded systems or Qt for desktop Linux also ?
    How can it be built/generated when not installed by "default" binary Qt package(s) like DEB or RPMpackages
    for a given linux platform/distribution like Ubuntu or Fedora (Ubuntu 10.10 has qvfb but Fedora 14 seems not having it) ?
    I downloaded Qt lib source package and did "configure ; gmake ; gmake install" but qvfb executable is not built by default where translation ".qm" files for it are generated, which sounds very strange to me.
    Did I miss something in the build procedure ?
    Thanks a lot in advance for any help/suggestion/solution.
    Alain-Pierre Chertier



  • Also,
    if I try to directly build "qvfb" by opening its ".pro" project profile under Qt Creator, the build procedure stops on compiling error relating to a missing include file "private/qcore_unix_p.h", even after having done the "gmake install"
    as administrator (under "su") of my newly built Qt lib package (build done as a unprivileged user) before re-entering the Qt Creator IDE. Hmmm ?
    Any help very appreciated.
    Alain-Pierre



  • Oooooh, before trying to build/generate the qvfb tool by myself, I forgot to choose the Qt lib I just built... So I entered again in the Qt Creator to update the qvfb ".pro" project by setting reference to the correct Qt lib (the one I built by myself), changing the default reference value "QT in path" by the "4.7.1" one, which, I guess, was the one corresponding to what I just built before... Then trying to rebuild qvfb goes farther but stops again with a new compiling error (argggh... !?), complaining about one more missing "X11/extensions/XTest.h" include file...
    Well I looked around the web with Google and I found that "XTest.h" was belonging to "libxtst" which I guess was not installed by default on my Fedora 14 system... So I did a "yum search libxtst" to look for exact package/component name for "libxtst" on my Fedora 14 system,
    and then, I decided to install
    libXtst.x86_64 : X.Org X11 libXtst runtime library
    and
    libXtst-devel.x86_64 : X.Org X11 libXtst development package:

    as root:

    yum install libXtst.x86_64 libXtst-devel.x86_64

    As a result, I succesfully regenerated the binary executable file for qvfb tool... Great !

    :-)

    Alain-Pierre


Log in to reply
 

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