Results 1 to 4 of 4

Thread: Qt Embedded in eglfs (linux) on different windows

  1. #1
    Join Date
    Jul 2015
    Posts
    8
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Qt Embedded in eglfs (linux) on different windows

    Hi all
    I work on project in qt embedded on linux - arm board.
    I use eglfs plugin (instead of x11) - write the screen directly to the frame buffer.
    I understand that I can't use multiple windows in my application. just one main window. is it true?
    Is there any way that I can use multiple windows? This is pretty annoying because I need to handle many views in one stackedwidget.
    Need your support on this and what is the best practice.

    Nati

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Embedded in eglfs (linux) on different windows

    Quote Originally Posted by natile View Post
    Hi all
    I work on project in qt embedded on linux - arm board.
    I use eglfs plugin (instead of x11) - write the screen directly to the frame buffer.
    I understand that I can't use multiple windows in my application. just one main window. is it true?
    eglfs talks to the system's framebuffer, which does not have support for windows.
    You need a windowing system to do that, e.g. X11 or Wayland.
    Not Qt specific of course, that is a system setup thing.

    Quote Originally Posted by natile View Post
    This is pretty annoying because I need to handle many views in one stackedwidget.
    Not sure what that has to do with multiple windows. A QStackedWidget is never multiple windows, it is one widget showing one of many pages.

    Cheers,
    _

  3. #3
    Join Date
    Jul 2015
    Posts
    8
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt Embedded in eglfs (linux) on different windows

    Just explain myself:
    When I say "very annoying" I mean to work all the time with the stackwidget. Sometimes I need that the app open a new confirmation window like a window/div/rect/whatever . I need this to be opened on the mainwindow
    and i find it very painfull.
    The switching between pages inside the stackwidget control is annoying too.
    Another example : I want to develop a virtual keyboard and i can't develop that in different window. what options do i have? i dont want to develop it in every page that contain the keyboard. what the re-use best practice for this situation?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Embedded in eglfs (linux) on different windows

    Ah, I see, you meant that you are currently using a stacked widget as a workaround for not having windows.

    As far as I can see you have two options:
    1) implement your own "windowing system" inside your application
    2) use an existing windowing system and the appropriate QPA for Qt

    Cheers,
    _

Similar Threads

  1. Replies: 2
    Last Post: 19th July 2012, 14:25
  2. Replies: 5
    Last Post: 25th April 2012, 11:34
  3. Windows 7 to Embedded Linux
    By nicker43 in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd December 2010, 06:55
  4. Newbie Question: Use same source for S60, Windows Mobile and Embedded Linux
    By extreme001 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th January 2010, 21:53
  5. Multiple apps using Qt/Embedded+Qtopia on Embedded Linux
    By drahardja in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 17th February 2008, 21:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.