R
R
rxxxxxx2021-01-13 15:34:08
Qt
rxxxxxx, 2021-01-13 15:34:08

How to remove shadow from elements?

Please tell me how to remove the shadow from the form elements. Previously, they did not have a shadow, but a neat frame, but then something happened and now all the elements on the form are surrounded by the most ugly shadows. And this is absolutely true for all elements, even for QMessageBox. Here is an example:
yoydR.png
It used to be like this:
AlZyC.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jacob E, 2021-01-13
@Zifix

It seems that you are resetting the application style to QWindowsStyle , try manually setting another one, for example QWindowsVistaStyle .

R
rxxxxxx, 2021-01-14
@rxxxxxx

Thank you all for your help. I solved the problem by changing the build mode from release to debug

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question