Error encountered when setting QT window transparent shaded border:
The widget used in the code implementation is embedded with a frame, and the white background and fillet style settings are set for the frame
Then directly call the setgraphicseffect method on the widget to add the shadow effect, and the above error occurs.
Solution:
Remove the shadow setting of the widget and directly set the shadow on the frame, UI -> frame-> Setgraphicseffect calls shadow.
After testing, the above error printing will not appear again.
Read More:
- [Solved] Qt Error: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
- QT Error: Failed to create vertex shader [Three Methods to Fix]
- [Solved] QT error: the packaged exe of Enigma virtual box reports an error cannot load library qt5core.dll
- Qt Error: Debug Assertion Failed [How to Solve]
- [Solved] Qt Vtk wglMakeCurrent failed in MakeCurrent(), error: The handle is invalid.
- [Solved] PySide2 Error: This application failed to start because no Qt platform plugin could be initialized
- QT Error: ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe‘ failed
- QT Error: use of undeclared identifier [How to Solve]
- QT calls the API of ffmpeg error [How to Solve]
- PCL 1.8.1 VTK 9.0 QT 5.14.9 [How to Solve]
- VS Open the UI file of QT Crash and Report Error [How to Solve]
- QT error: – LGL not found [How to Solve]
- [Solved] QT Programme Error: error: no matching function for call to…
- Qt5core.pdb is not loaded [How to Solve]
- QT Creator Error while building deploying project
- How to Solev QT compilation error “cannot find – LGL”
- [Solved] Qt Error: undefined reference to xxxxx
- QT solves error: use of deleted function and is private within this context
- How to Solve QT and PCIe interactive loading setupapi.H error
- [Solved] QT Warning: Slots named on_foo_bar are error prone