0

Environment


  • OS: Ubuntu 20.04LTS
  • Qt-Version: 5.12.8

Problem


How to catch an exception? if my code likes this

try{
    //if here occur an null_pointer_exception or io_exception,how to catch the exception?
}catch(???){
    ???
}

or how do I turn on the switch of Qt5 and catch the exception?

0 Answers0