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. Qt6 HighQualityAntiAliasing not found error
Forum Updated to NodeBB v4.3 + New Features

Qt6 HighQualityAntiAliasing not found error

Scheduled Pinned Locked Moved Unsolved General and Desktop
qpaintqpaintersetrenderhint
3 Posts 2 Posters 4.7k 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.
  • Fitndex-developerF Offline
    Fitndex-developerF Offline
    Fitndex-developer
    wrote on last edited by
    #1

    the error

    QPainter painter(this);
    painter.setRenderHint(QPainter::SmoothPixmapTransform, true);
    painter.setRenderHint(QPainter::HighQualityAntialiasing, true);

    first command is working, but I'm getting 'no member named HighQualityAntialiasing found in QPainter' error

    This worked fine in Qt5 is there something new I need to do in Qt6?

    Thanks

    1 Reply Last reply
    0
    • nageshN Offline
      nageshN Offline
      nagesh
      wrote on last edited by
      #2

      @Fitndex-developer said in Qt6 HighQualityAntiAliasing not found error:

      HighQualityAntialiasing

      As per Qt Documentation This value HighQualityAntialiasing is obsolete and will be ignored, use the Antialiasing render hint instead
      use QPainter::Antialiasing

      1 Reply Last reply
      2
      • Fitndex-developerF Offline
        Fitndex-developerF Offline
        Fitndex-developer
        wrote on last edited by
        #3

        Thank you so much nagesh.

        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