• [^] # Re: abandon de qgraphicsview ?

    Posté par . En réponse au journal Plasma Active. Évalué à 1.

    Je me suis mal exprimé, voici les propos d'Aaron pour plus d'exactitude :

    In Platform 4.6 and newer, Plasma supports writing components in QtQuick's QML. One tantalizing thing QML holds out is using an OpenGL accelerated scene graph for all rendering. Having seen this in action, the results are impressive. To put it mildly. Think "better performance on a mobile device than on the typical desktop running the QGraphicsView equivalent". To get to the point that Plasma can use this scene graph, however, we need to have everything in a given shell done in QML.
    This implies not using QGraphicsView. What we are planning to do is to put the QGraphicsView implementation in a second support library so that we aren't forced to rewrite plasma-desktop, plasma-overlay (aka Widgets-on-Screensaver) and plasma-netbook or the hundreds of Plasmoids people have written. libplasma2 will then rely on ScriptEngines for things like QML (as it currently already does) and allow us to write QML-only shells (as Plasma Tablet and Mobile already are) and take advantage of the OpenGL scene graph wherever we can.

    Donc QML va être utilisé à la place de QGraphicsView, le premier utilise OpenGL pour le rendu, ce qui est beaucoup plus rapide que QGraphicsView.