Results 1 to 3 of 3

Thread: Qt 5 use EGL backend for XCB

  1. #1
    Join Date
    Dec 2015
    Posts
    3
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt 5 use EGL backend for XCB

    I am having some tearing issues with embedded Qt 5 with the XCB backend. I have just realized that perhaps this causes it to default to GLX and I have heard that one has a far greater chance of eliminating tearing using EGL. I also know that Qt has an EGL backend for XCB but I have no idea how to switch between the two. What configuration or runtime flags can I use to force it to use the one instead of the other?

  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 5 use EGL backend for XCB

    When you say "EGL backend for XCB", do you mean the EGL backend for Qt? I.e. the eglfs QPA (Qt Platform Adapter)?
    If so, you can pass eglfs to the -platform command line switch (provided you have the eglfs backend compiled and installed) or set an environment variabl (forgot which one).

    Cheers,
    _

  3. #3
    Join Date
    Dec 2015
    Posts
    3
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt 5 use EGL backend for XCB

    Quote Originally Posted by anda_skoa View Post
    When you say "EGL backend for XCB", do you mean the EGL backend for Qt? I.e. the eglfs QPA (Qt Platform Adapter)?
    If so, you can pass eglfs to the -platform command line switch (provided you have the eglfs backend compiled and installed) or set an environment variabl (forgot which one).

    Cheers,
    _
    No I am not revering to eglfs as that is different from XCB. XCB has seperate GLX and EGL backends. I am also looking at using EGLFS but I have not managed to get that running with an X11 backend as it defaults to KMS.

Similar Threads

  1. any Qt HTML5 backend work ?
    By Hassan Mohamad in forum General Discussion
    Replies: 2
    Last Post: 10th April 2015, 06:32
  2. Replies: 8
    Last Post: 14th June 2013, 11:16
  3. Change phonon backend to vlc backend
    By stereoMatching in forum Newbie
    Replies: 1
    Last Post: 8th September 2012, 06:10
  4. Embedded Qt OpenGL Backend
    By ebranson in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 15th March 2010, 18:53
  5. Own backend for SVG files
    By alfblt16 in forum Qt Programming
    Replies: 0
    Last Post: 2nd October 2006, 09:17

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.