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. Qt5 Embedded Framebuffer Poor GUI
Forum Updated to NodeBB v4.3 + New Features

Qt5 Embedded Framebuffer Poor GUI

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 2.6k 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
    DarCom
    wrote on 19 Dec 2015, 10:26 last edited by
    #1

    Hi.
    Would someone please tell me why there are some graphic problems for framebuffer qt running on the embedded devices?
    As an example, the title bar doesn't show anything or you can't drag a new window which is opened by the main window.
    Another one is the bad shape of circle slider same as the picture in the link below.
    https://www.google.com/imgres?imgurl=http://doc.qt.io/qt-5/images/sliders-example.png&imgrefurl=http://doc.qt.io/qt-5/qtwidgets-widgets-sliders-example.html&h=248&w=657&tbnid=cyJkBbbVVwT39M:&docid=ZoC_2IxLWtIOwM&ei=TjB1Vp-jI4iKU8SHh8AK&tbm=isch
    These problems doesn't exist for qt4.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Dec 2015, 00:40 last edited by
      #2

      Hi and welcome to devnet,

      That's not graphics problem. With Qt 4 the only option you had for embedded was QWS a.k.a the Qt Windowing System. With Qt 5.5, the default for non xcb backend is "one app fullsceen". If you need window management without Xorg, you should look for Wayland which is also supported as backend by Qt 5.

      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
      • D Offline
        D Offline
        DarCom
        wrote on 22 Dec 2015, 17:33 last edited by DarCom
        #3

        Hi.
        Thanks a lot SGaist.
        I'm new to Qt, so would you please explain more.
        I'm using Linux Framebuffer and -eglfs switch that the quality of what is shown is not satisfying like the bad shape of widgets as slider.
        1- So as you said it is ok. yes?
        2- Using Wayland would the quality be ok? and is it run on Linux Framebuffer?
        Thanks a lot.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Dec 2015, 21:03 last edited by
          #4

          Again, it's not a quality question. You're expecting window decoration but have no window manager.

          1. See the Qt for Embedded Linux for more details about how an application will be shown with the various plugins.
          2. Wayland and the corresponding Qt backend will get you window management.

          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
          • D Offline
            D Offline
            DarCom
            wrote on 23 Dec 2015, 17:16 last edited by
            #5

            I really thank you dear SGaist.
            So, as i understood, even the different shape of a widget from what is in qt-creator is the responsibility of the window manager.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 23 Dec 2015, 22:15 last edited by
              #6

              If you are referring to the image you pointed from the doc, it's a snapshot from an old KDE. The window style and decoration will depend on the OS you'll be running your application on and the window manager used (if any).

              If you want more control over how your UI looks like, you should consider using QML and QtQuick 2.0

              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

              1/6

              19 Dec 2015, 10:26

              • Login

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