1
Window / Re: SFML+Qt: Crash when deleting/closing a QWidget that is also a sf::RenderWindow
« on: August 24, 2021, 11:10:12 am »
Hello,
I've just followed the example as in the tutorial (https://www.sfml-dev.org/tutorials/1.6/graphics-qt.php), but if that is not correct it would be great to mark it as incorrect or just delete the page. I don't see how should it be done if not deriving from sf::RenderWindow.
The way we solved it is by rebuilding the SFML with all the methods from AutoreleasePoolWrapper.mm commented so the memory management is done only by Qt.
It seems to be the same issue as reported in https://github.com/SFML/SFML/issues/1549
Thanks!
I've just followed the example as in the tutorial (https://www.sfml-dev.org/tutorials/1.6/graphics-qt.php), but if that is not correct it would be great to mark it as incorrect or just delete the page. I don't see how should it be done if not deriving from sf::RenderWindow.
The way we solved it is by rebuilding the SFML with all the methods from AutoreleasePoolWrapper.mm commented so the memory management is done only by Qt.
It seems to be the same issue as reported in https://github.com/SFML/SFML/issues/1549
Thanks!