Hello. I am using the QSfmlWidget provided by Laurent, and I have the following problem:
I would like to be able to change the context settings while my widget is running, so when I do sf::RenderWindow::Create(winId()) the widget stops displaying new content, and the console shows the following:
Failed to set pixel format for device context -- cannot create OenGL context (by the way, there is a spelling error in that sentence )
Failed to activate the window's context (this is repeated every frame)
What should I do? Maybe some kind of close function? (I tried to call sf::RenderWindow::Close before, but still getting this error).