Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Antialiasing with QtQuick 2.0 and canvas
Forum Updated to NodeBB v4.3 + New Features

Antialiasing with QtQuick 2.0 and canvas

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 2.5k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    spompelio
    wrote on 18 Oct 2012, 00:19 last edited by
    #1

    When drawing with Canvas, lines and text isn't being rendered with antialiasing. I've added the "smooth: true" and "antialiasing: true" properties to the canvas item but no luck. Anyone else having this issue? None of the canvas examples in qt-declarative (quick 2.0) render with antialiasing either.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      admiralfluff
      wrote on 20 Oct 2012, 21:17 last edited by
      #2

      What system are you running? I have this problem on an ubuntu vm and debian on Raspberry Pi. On OSX however, it works fine. Anti-aliasing in Canvas isn't actually handled by the canvas or Qt renderer, it's handled by the system graphics. I think the problem is likely on the Qt side though, as web pages with canvas are rendered correctly.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spompelio
        wrote on 20 Oct 2012, 21:40 last edited by
        #3

        Ubuntu 12.04/64bit. The issue could be my cheap intel graphics media accelerator. Every qt opengl demo I run seems to have poor/none antialiasing. However, I also have the same issue on my desktop running an nvidia graphics card so who knows. Is there any way I can force software rendering with QtQuick 2.0 and canvas?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          admiralfluff
          wrote on 20 Oct 2012, 22:01 last edited by
          #4

          Not that I know of, but if you find out how, let me know. :)

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VTiTux
            wrote on 27 Apr 2014, 18:54 last edited by
            #5

            I have the same problem.
            How to enable antialiasing with Canvas?

            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