Nominate our 2022 Qt Champions!

Problem using QVFB on Linux Ubuntu

  • Hi,

    I try to use QVFB on my Linux Ubuntu 14.04 to display an embedded Qt application.
    But when I run the application, I always have this error message : QVFb: driver not found, and application crashes.

    My Qt version is 4.8.4.

    When I'm launching QVFB, it is correctly displayed but there is always a warning message : QLock::QLock: Cannot get semaphore /tmp/qtembedded-jeremie/QtEmbedded-0 'd' (2, No such file or directory)

    To have QVFB, I built my Qt like this :

    • ./configure -qvfb
    • make
    • cd tools/qvfb
    • make

    And in another Qt directory, I built it like this to be able to compile my application :

    • ./configure -silent -opensource -confirm-license -largefile -no-qt3support -depths 16,18 -debug -shared -little-endian -embedded x86_64 -stl -no-declarative -no-pch -no-xinerama -no-cups -no-nis -no-accessibility -no-separate-debug-info -prefix /usr/local/Trolltech/QtEmbedded-4.8.4 -fast -no-rpath
    • make
    • sudo make install

    When I was working on Linux Ubuntu 12.04 and inferior versions, I never had problems with Qt and QVFB, using them the same way.

    In fact, it seemed to me that it was QVFB that must create the /tmp/qtembedded-0/QtEmbedded-0, but it doesn't make it here, maybe because he tries to create it in /tmp/qtembedded-jeremie, that doesn't exist.

    But maybe someone would know how to fix this problem ?

  • Nobody would have an idea ?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do I understand correctly that you are using two different builds of Qt for embedded ?

    It looks like you didn't install qvfb

Log in to reply