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. QWS in Qt for Embedded Linux screen driver
Qt 6.11 is out! See what's new in the release blog

QWS in Qt for Embedded Linux screen driver

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 6.5k 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.
  • L Offline
    L Offline
    Luc4
    wrote on last edited by
    #1

    Hi! I'm trying to create my own screen driver for Qt for Embedded Linux. There is something I don't understand about how it works: in case I create, when requested for a QGLWidget a EGL window with the same geometry (my EGL library allows to do this on the framebuffer), should I expect to see something outside that window? Should I expect to see the rest of my window as drawn by the QWS?

    I read about the bit blit which seems to be available in Qt. Shouldn't this place Qt windows outside my EGL surface?

    Thanks for any information you may provide!

    1 Reply Last reply
    0
    • B Offline
      B Offline
      brijeshvpatel
      wrote on last edited by
      #2

      Hi Luc,

      I have worked for same kind of thing. I have created screen driver for FPGA based screen linux driver. I will be happy if it helps you to fulfill your task.
      You can take care following things;

      • Take care about control APIs provided in linux driver to handle in Qt screen driver
      • Take care about exposeRegion function in Qt lower layer driver
      • Take care about depth, Physical, cache and screen size
      • You can refer qscreen_qws.cpp

      Tell me if this is not cleared to your or you have any confusion

      Brijesh

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Luc4
        wrote on last edited by
        #3

        Hi! Thanks for the answer. Currently I'm able to mix QWS and OpenGL on the framebuffer. What I still cannot do is place Qt widgets over an EGL surface. I suppose I'll have to extend my EGL implementation to do that. A good reference seems to be the PowerVR implementation. I haven't tried this already, but it seems not trivial. How did you accomplish this?
        Thanks for your help!

        1 Reply Last reply
        0
        • L Offline
          L Offline
          likewise
          wrote on last edited by
          #4

          Hello Brijesh,

          [quote author="brijeshvpatel" date="1305106737"]Hi Luc,

          I have worked for same kind of thing. I have created screen driver for FPGA based screen linux driver. I will be happy if it helps you to fulfill your task.
          [/quote]

          Is this available as a source code example?

          Regards,

          Leon.

          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