"Default FBO wrapper creation failed" Error

Dear Community,

We show Open CASCADE scene and OpenGL scene in different pages and dialog windows of our application. I'm having trouble with one, but not every dialog window, and it only happens on the windows side (it works fine on the Linux side). 

Error messages I get:

TKOpenGl.WinSystem | Type: Error | ID: 2000 | Severity: High | Message:
  wglMakeCurrent() has failed. The pixel format is invalid.

TKOpenGl.WinSystem | Type: Error | ID: 2000 | Severity: High | Message:
  wglMakeCurrent() has failed. The pixel format is invalid.

TKOpenGl.WinSystem | Type: Error | ID: 2000 | Severity: High | Message:
  wglMakeCurrent() has failed. The pixel format is invalid.

TKOpenGl.WinSystem | Type: Error | ID: 2000 | Severity: High | Message:
  wglMakeCurrent() has failed. The pixel format is invalid.


Default FBO wrapper creation failed
Default FBO wrapper creation failed

Scene is:

I also updated my graphics driver and called the makecurrent() method of Qt but the problem was not fixed. Do you think OpenGL contexts created on other pages of our application are conflicting? Do you have any suggestions to fix the problem?

Thank you in advance! Best regards.