Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Raster and QT5
QtWS25 Last Chance

Raster and QT5

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 4.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    artif27
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Techtotie
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved