Coder Social home page Coder Social logo

daodaoliang / crashreporter-qt-breakpad Goto Github PK

View Code? Open in Web Editor NEW

This project forked from speedovation/crashreporter-qt-breakpad

0.0 1.0 0.0 5.2 MB

CrashReporter using Qt and breakpad

License: Apache License 2.0

C++ 75.69% Shell 11.82% Python 1.14% Makefile 0.20% C 3.56% Objective-C 3.87% Objective-C++ 2.97% Assembly 0.25% Protocol Buffer 0.14% Go 0.21% QMake 0.14% Batchfile 0.02%

crashreporter-qt-breakpad's Introduction

CrashReporter for Qt Apps

After getting frustated to get crash reporter (or with proper license). I decided to create one. This is result.

Download

Clone repo or download from releases.

How to use

  • Step 1: Include Header in app. Create version.h from sample_version.h file which suits your app.
#include "version.h"
#include "CrashHandler.h"
  • Step 2: Init Crash Handler
CrashManager::CrashHandler::instance()->Init( QDir::tempPath());
  • Step 3: Open CrashRepoter pro file(Qt Project) and build executable out of it. Put it in same dir of App executable.

  • Step 4: Compile App.

  • Step 5: Crash will open crashreporter.

That's it. :)

Components

  • CrashReporter - Support features like Send report with email,desc and dmp file to server, restart app.
  • CrashHandler - Add inside Qt App. It will create crash report and trigger crash reporter automatically.
  • breakpad - Google breakpad library ( BSD 3 license)
  • WebInterface - Receives dmp file, email, desc and sends email to user.

TODO

  • Tests
  • Examples
  • Add screenshots
  • Share web server code for uploading dmp file and send mail to developers
  • Any WIKI page about how easy to use breakpad with Qt.
  • Enable create issue button in crash reporter

For all TODOs I'm pretty much rely on PULL requests so make one and contribute back.

License

  • Apache 2.0 license

Finished

  • Crash reporter
  • Server side done. Dmp file upload and send mail is also done.
  • Crash Handler
  • WebInterface

crashreporter-qt-breakpad's People

Contributors

codeyash avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.