Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. OpacityMaskItem running on raspberry pi
Qt 6.11 is out! See what's new in the release blog

OpacityMaskItem running on raspberry pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 447 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.
  • P Offline
    P Offline
    PieterW_
    wrote on last edited by
    #1

    I have an application for the RPI which uses a custom progress bar made with an OpacityMaskItem. Everything compiles and runs perfectly when I tell my Ubuntu development PC to run it on the RPI. However, when the app is ran directly from the RPI the progress bar is not displayed. It seems as though the opacity mask suddenly fails to be displayed.

            OpacityMaskItem {
                id: opacityMask1
                x: 244
                y: 78
                width: 320
                height: 320
                invert: false
                Item {
                    id: item1
                    width: 320
                    height: 320
                    Image {
                        id: progress_png
                        x: 0
                        y: 5
                        source: "assets/prog.png"
                        fillMode: Image.PreserveAspectFit
                    }
                }
                ArcItem {
                    id: arc
                    x: 0
                    y: 0
                    width: 320
                    height: 320
                    end: 145 //140
                    begin: -142
                    strokeWidth: 30
                    strokeColor: "#ffffff"
                    fillColor: "#00000000"
                }
            }
    
    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