#include #include #include #include #include #include "opstream.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); try { throw new std::exception(); } catch (std::exception *) { qDebug() << "catched"; } return a.exec(); }