Skip to content

Commit cd37c8f

Browse files
author
ThePBone
committed
Embed custom crash handler (crash dump location: /tmp/viper-gui/crash.dmp)
1 parent 78774eb commit cd37c8f

File tree

9 files changed

+1497
-5
lines changed

9 files changed

+1497
-5
lines changed

V4L_Frontend.pro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ SOURCES += \
4242
config/container.cpp \
4343
config/dbusproxy.cpp \
4444
config/io.cpp \
45+
crashhandler/airbag.c \
4546
dbus/clientproxy.cpp \
4647
dbus/serveradaptor.cpp \
4748
dialog/androidimporterdlg.cpp \
@@ -86,6 +87,10 @@ HEADERS += \
8687
config/container.h \
8788
config/dbusproxy.h \
8889
config/io.h \
90+
crashhandler/airbag.h \
91+
crashhandler/killer.h \
92+
crashhandler/safecall.h \
93+
crashhandler/stacktrace.h \
8994
dbus/clientproxy.h \
9095
dbus/serveradaptor.h \
9196
dialog/androidimporterdlg.h \
@@ -136,6 +141,11 @@ TRANSLATIONS += translations/lang_en.ts \
136141

137142
INCLUDEPATH += $$PWD/3rdparty/WAF
138143

144+
unix {
145+
QMAKE_LFLAGS += -ldl -lutil
146+
QMAKE_CXXFLAGS += -g
147+
}
148+
139149
# Default rules for deployment.
140150
qnx: target.path = /tmp/$${TARGET}/bin
141151
else: unix:!android: target.path = /usr/bin/

0 commit comments

Comments
 (0)