0

For a Windows computer without the necessary OpenGL capabilities, trying to create a QWebEngineView object silently causes the process to exit(). There is no error message, no exception, but just an exit. My question is how to catch this condition in order to tell the user to update the OpenGL drivers?

Dov Grobgeld
  • 4,783
  • 1
  • 25
  • 36
  • Try destructors of static C++ objects or the `atexit()` function. – Velkan Dec 30 '16 at 16:45
  • Agree that's an answer to the question as I stated it, but I actually meant how to catch the condition that triggers the exit() before it is called. I can then turn off the use of QWebEngineView and then start the application. – Dov Grobgeld Dec 31 '16 at 20:47
  • If you use gdb, try breakpoints on exit or _exit. – Velkan Dec 31 '16 at 23:47

0 Answers0