I am using Qt5.13.0 framework on centos with GCC compiler, try catch is working on windows but no working on Centos.
int main(int argc, char *argv[]) {
  QApplication a(argc, argv);
  a.setStyleSheet(Utils::loadStyle());
 try {
    MainWindow *w = nullptr;
    w->show();
  } catch (...) {
    qWarning() << "Exception handled";
  }
  return a.exec();
}
I want to caught nullptr exception but app crash with code segment fault.
