Raster and QT5



  • Hi all,

    before we could force our application to use raster graphics system by running our application with a command-graphicssystem raster or by using the QApplication :: setGraphicsSystem ("raster").

    With QT5, is that possible?

    Thank you for your answers.



  • Hi Artif,

    No its not possible to set graphics using QApplication :: setGraphicsSystem (“raster”) as in previous versions as this call is deprecated in QT5.0.
    It's stubbed as follows in QApplication.h

    //QApplication.h

    #if QT_DEPRECATED_SINCE(5, 0)

    QT_DEPRECATED static inline void setGraphicsSystem(const QString &) {}
    

    #endif


Log in to reply
 

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