Breakpad-Qt is Qt library to use google-breakpad crash reporting facilities. Supports
- Windows (but crash dump decoding will not work with MinGW compiler)
- Linux
- MacOS X
- Include "breakpad-qt-handler.pri" to your QtCreator project;
- Setup linking with "breakpad-qt-handler" library; example:
QMAKE_LIBDIR += $$OUT_PWD/submodules/breakpad/handler
LIBS += -lbreakpad-qt-handler
- Use
BreakpadHandler
singleton class to enable automatic crash dumps generation on any failure; example:
BreakpadQt::GlobalHandler::instance()->setDumpPath(QLatin1String("crashes"));
- Read Google Breakpad documentation to know further workflow
http://code.google.com/p/google-breakpad/wiki/GettingStartedWithBreakpad