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. Strange behavior with linuxfb or eglfs -platform option
Forum Updated to NodeBB v4.3 + New Features

Strange behavior with linuxfb or eglfs -platform option

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.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.
  • G Offline
    G Offline
    gianc
    wrote on last edited by
    #1

    I write a simple program,[http://149.154.154.92/focus.zip ] with qt5 and qtcreator.
    It is very simple, mainwindow and 1 qdialog.
    I exec the dialog with a button and I close it with an other button.
    If I run the program on x86 platform all is ok.

    If I run the program on arm embedded system with the eglfs platform option I can exec the dialog but when I try to close it, the application is locked, and the dialog it is not hided.

    If I run the program on arm embedded system with the linuxfb platform option I can exec the dialog but when I close it, the mainwindow is not repainted but it can capture the input and I can exec the dialog again.

    What I wrong?
    Thank you

    1 Reply Last reply
    0
    • N Offline
      N Offline
      NicuPopescu
      wrote on last edited by
      #2

      Hi,

      what graphic hardware do you have? I have PowerVR and for it I run with -display eglnullws option ... anyway your application is not designed/built for open gl (i.e. see QGLWdiget) and also qt must be built with open gl enabled (perhaps gles 2 or newer)

      for linuxfb, it should work ... what I see is that dialog has parent the main window ... try without a parent

      I currently develop with qt 4.8 embedded on arm and as far as I remember to make open gl working I had to do little changes in qt source in order to refresh properly

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gianc
        wrote on last edited by
        #3

        Thank for your reply,
        I discover that eglfs can show only 1 widget for time....
        I try to change the parent but nothing change with linuxfb option.
        If I call repaint function multiple times, after close the dialog, the drawing of main window improves.
        I use a i.mx6 freescale micro.
        Thank you

        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