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. artifacts using QtQuick.Shapes
Forum Updated to NodeBB v4.3 + New Features

artifacts using QtQuick.Shapes

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 336 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.
  • A Offline
    A Offline
    ABest2
    wrote on last edited by
    #1

    35aa4c2a-5687-4a57-b9a7-3ed6803c40c9-image.png

    I am building a desktop application using QtQuick 2.15. The circular button patterns above were created with Shape items (QtQuick.Shapes 1.12) which resize with the application window. Artifacts (indicated with red arrows) occur at certain window sizes. I have yet to find a mathematical relationship between the window sizes which show the artifact versus those that do not. The artifacts come and go at various locations as the window is resized. The value of layer.samples for these items doesn't affect the occurrence of the artifacts. Any suggestions on how to eliminate these artifacts will be appreciated.

    Thanks

    A 1 Reply Last reply
    0
    • A ABest2

      35aa4c2a-5687-4a57-b9a7-3ed6803c40c9-image.png

      I am building a desktop application using QtQuick 2.15. The circular button patterns above were created with Shape items (QtQuick.Shapes 1.12) which resize with the application window. Artifacts (indicated with red arrows) occur at certain window sizes. I have yet to find a mathematical relationship between the window sizes which show the artifact versus those that do not. The artifacts come and go at various locations as the window is resized. The value of layer.samples for these items doesn't affect the occurrence of the artifacts. Any suggestions on how to eliminate these artifacts will be appreciated.

      Thanks

      A Offline
      A Offline
      ABest2
      wrote on last edited by
      #2

      @ABest2

      I found a solution. If I limit the height of the rectangle which contains the elements to size increments of 100, the artifacts are not present (The items with artifacts are scaled to the height of the rectangle.).

      implicitHeight: appWin.height - (appWin.height % 100)

      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