File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,12 @@ int main (int argc, char *argv[])
3434
3535 // Set directory to store dumps and url to upload
3636 QBreakpadInstance.setDumpPath (" crashes" );
37- QBreakpadInstance.setUploadUrl (QUrl (" http://your.site.com/crash_upload" ));
37+ // Set server type for uploading
38+ #if defined(SOCORRO)
39+ QBreakpadInstance.setUploadUrl (QUrl (" http://[your.site.com]/submit" ));
40+ #elif defined(CALIPER)
41+ QBreakpadInstance.setUploadUrl (QUrl (" http://[your.site.com]/crash_upload" ));
42+ #endif
3843
3944 // Create the dialog and show it
4045 ReporterExample example;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ include($$PWD/../../qBreakpad.pri)
1919QMAKE_LIBDIR += $$OUT_PWD /../../handler
2020LIBS += -lqBreakpad
2121
22- # Define the source code
22+ # source code
2323HEADERS += \
2424 $$PWD /../program/TestThread.h \
2525 $$PWD /reporter.h
You can’t perform that action at this time.
0 commit comments