Solve the problem of Qt icon background color transparency

A problem that has always been troubled is how to adapt an icon or a picture to the background, or how to set the background to a transparent color. Just like the three icons below, the white background is not very nice. As a novice, I got them from Baidu Pictures and used them.
Insert picture description here
Then after some online search, I found a keyword, vector graphics , vector graphics are those pictures with the background deducted. Therefore, the pictures found on Baidu Pictures need to be cut out by PS software before they can be used. I heard from friends that the magic wand tool of ps can be solved. But I haven't downloaded ps, and I don't know how to do it (well, I admit I'm still lazy).

So now that it is a vector diagram, there should be quite a few on the Internet. so, life is short, I use Iconfont (Alibaba Vector Icon Library). It is the best vector icon library found on the Internet. And it's free! ! Very suitable for the use of icons for system development. There are many icons and powerful resources!
Insert picture description here
In addition, please note that you can download as much as you need. If it is 200x200, there will be no vector graphics after adjusting the pixels by drawing.
Insert picture description hereLook at the finished effect. its not bad, right! hh
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_16488989/article/details/108831992