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. Qt Embedded 4.8.5 cannot open display lock
Forum Updated to NodeBB v4.3 + New Features

Qt Embedded 4.8.5 cannot open display lock

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 461 Views 2 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.
  • Q Offline
    Q Offline
    qtsri
    wrote on 17 Jun 2021, 02:06 last edited by
    #1

    We are running a Qt Embedded 4.8.5 application on Android 9 OSP and seeing this error:

    QLock::QLock: Cannot create semaphore /tmp/qtembedded-0/QtEmbedded-0 'd' (38, Function not implemented)
    Cannot get display lock
    Aborted
    

    despite enabling SYSVIPC in the underlying Linux kernel.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Jun 2021, 07:45 last edited by
      #2

      Hi,

      Did you implement the code as well in Qt ?
      By the way, if your are locked to Qt 4, at least consider using the latest version of that series.

      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
      • Q Offline
        Q Offline
        qtsri
        wrote on 17 Jun 2021, 11:37 last edited by qtsri
        #3

        Hi.
        Yes, the code is implemented using Qt 4.8.5. We can try with 4.8.7. Thanks.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qtsri
          wrote on 17 Jun 2021, 19:50 last edited by
          #4

          We didn't have to upgrade to Qt 4.8.7 as were using the Android 9 kernel that doesn't use System V IPC where we assumed we were using Linux kernel with system V enabled. Pointing to the correct kernel in the build fixed the issue.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 17 Jun 2021, 20:01 last edited by
            #5

            Nice !

            Note that the upgrade is still a good idea since you are using an outdated version of Qt. Even more, it has reached end of life a long time ago.

            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

            4/5

            17 Jun 2021, 19:50

            • Login

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