Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Latest commit

 

History

History

qt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sentry Qt Example

This example shows a minimal way to use Sentry with Qt.

First ensure you have Qt 5 or Qt 6 in your CMake prefix path, as well as a build of the sentry-native SDK with Qt integration enabled.

Then build and run the example:

cmake -B build .
cmake --build build
export SENTRY_DSN=...
./build/sentry_qt_example

Clicking the button will crash the example, with breadcrumbs from the Qt debug statements.