Performance issue while showing portrait view on landscape h/w device



  • Dear All,
    I have a h/w display device which is landscape and my requirement is to show portrait view on it. I also have some editable text controls in my UI.
    Now if I rotate frame buffer I am facing performance issue, so my question is what is the best way to achieve portrait view on landscape h/w device with better performance ?
    Regards,


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You are missing a lot of important details:

    • What device is it ?
    • What is its graphic stack ?
    • What version of Qt are you using ?
    • What OS is the device running ?
    • What Qt technology are you using ? Widgets ? QML ?


  • Hi,
    We use Linux Os, Qt 5.2.1 (Qt Creator 3.0.1), Yocto environment and Processor is Imx6 Dual.
    We use Qt Widgets only.
    I am fairly new for Qt development on Linux platform I mostly worked on windows and Mac platform.
    I was thinking using QGraphicsView as parent and then rotate view by 90 degree but that implementation will be fairly complex and not sure that it will give better performance.
    I can't share more information than this.
    I hope this will be helpful to answer my question.
    Regards,


  • Lifetime Qt Champion

    Qt 5.2.1 is really old and outdated, the current version is 5.10.1 with 5.11 around the corner, you should really consider updating the version of Qt your are using. If you need long term guaranties then the current LTS is 5.9.

    QtWidgets are using CPU rendering which is not the fastest, depending on your needs you might want to consider using QtQuick which should leverage the OpenGL capabilities of your board.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.