Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem using QVFB on Linux Ubuntu

Problem using QVFB on Linux Ubuntu

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Drizzit
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Drizzit
      wrote on last edited by
      #2

      Nobody would have an idea ?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved