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. How to Implement Acrylic Effect in Qt UI?
QtWS25 Last Chance

How to Implement Acrylic Effect in Qt UI?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 115 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.
  • F Offline
    F Offline
    froxy
    wrote on 8 Apr 2025, 11:35 last edited by
    #1

    I'm trying to apply an acrylic effect to the background of my window in a Qt application running on Windows 10.
    Has anyone successfully implemented an acrylic effect using QGraphicsEffect, OpenGL, or any other method in Qt? If so, could you please share how you approached this, or point me to any useful resources or examples?

    P 1 Reply Last reply 9 Apr 2025, 17:02
    0
    • S Offline
      S Offline
      SimonSchroeder
      wrote on 9 Apr 2025, 06:49 last edited by
      #2

      The acrylic effect will show some of the color of what is behind your widget. There is not much you can do on Qt's side to get that background. Otherwise you could just set a background image with the acrylic effect.

      Instead, you need to get the native window handle from a Qt widget and use the Windows API to apply the acrylic effect.

      1 Reply Last reply
      0
      • F froxy
        8 Apr 2025, 11:35

        I'm trying to apply an acrylic effect to the background of my window in a Qt application running on Windows 10.
        Has anyone successfully implemented an acrylic effect using QGraphicsEffect, OpenGL, or any other method in Qt? If so, could you please share how you approached this, or point me to any useful resources or examples?

        P Offline
        P Offline
        Pl45m4
        wrote on 9 Apr 2025, 17:02 last edited by
        #3

        @froxy

        IIRC there was a similar post + solution few years ago here in the forum... Maybe you are able to find it via search function.


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        1 Reply Last reply
        0

        1/3

        8 Apr 2025, 11:35

        • Login

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