Results 1 to 3 of 3

Thread: Advice regarding Qt, QWS, Opengl with PowerVR MBX

  1. #1
    Join Date
    Aug 2011
    Posts
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Advice regarding Qt, QWS, Opengl with PowerVR MBX

    Hi,

    I am programming a driver information system for a car project with a freescale MPC5121 with integrated PowerVR MBX Lite. I have several widgets showing different information in different "Pages". The programm includes a navigation page, which is realised with GraphicsScene/View, On an other page I show speed and engine rpm in two widgets.

    The programm "works" with directfb gfx driver for qt unaccelerated. But the graphics performance is poor.

    I want to switch to Opengl. While searching and reading opengl support under Qt, I found that, normal QWidgets are not accelerated, but only QGLWidgets and widgets inheriting from it.

    My questions:
    - Is it enough, just changing the MainWidget to QGLWiget type and leaving other widgets as-is (qglwidget would be parent widget of them) to get them accelerated?
    - Should I use instead of MainWidget a GraphicsScene/View with a QGLWidget as viewport and embded the widgets (including navigation scene/view) in this to get them accelerated?
    - Change all qwidgets to qglwidgets? Is it possible to use several QGLwidgets under QWS, the driver for Powervr works only with fullscreen and supports Open GL ES 1.1

    Or something completely different? Can/would you advice a completely different solution?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,318
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Advice regarding Qt, QWS, Opengl with PowerVR MBX

    QWS means raster - better forget to try anything else. In the end you will find yourself running into broken paths in the Qt code.
    All I can recommend to do with OpenGL is an OpenGL fullscreen window - but why using Qt/QWS then.

    Uwe

  3. #3
    Join Date
    Aug 2011
    Posts
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Advice regarding Qt, QWS, Opengl with PowerVR MBX

    Quote Originally Posted by Uwe View Post
    QWS means raster - better forget to try anything else. In the end you will find yourself running into broken paths in the Qt code.
    All I can recommend to do with OpenGL is an OpenGL fullscreen window - but why using Qt/QWS then.

    Uwe
    We don't have an alternative to Qt. An alternative to QWS would be X11 (which is an overkill for embedded, we have to consider also boot time)

Similar Threads

  1. XML advice
    By stefan in forum Newbie
    Replies: 1
    Last Post: 24th December 2011, 14:12
  2. Replies: 0
    Last Post: 6th December 2009, 00:41
  3. Qt with OpenGL ES for ARM9 - All OpenGL ES tests have failed!
    By vinpa in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd December 2009, 10:10
  4. powervr: driver not found
    By yossibs in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th October 2009, 08:56
  5. Need Advice: Best IDE for Mac OSX
    By JimDaniel in forum Qt Programming
    Replies: 6
    Last Post: 18th October 2008, 23:14

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.