I have created a Qt application that can be compiled both in Linux and Windows. Moreover, using Qt installer framework I have created installers for both OS. However, my application still has some bugs. I know how to debug them using a debugger on my computer, but when somebody installs it using the installers that I created, there is no way for me to track the segmentation faults that might happen in the end-user computer.
There are some programs that do some kind of crash-log so when they crash a log file can be sent to the developer to try to find out the problem. I could achieve something like that by adding a logging system in my application that logs (print to a file) what the user is doing at all time in my application. However, this is a pretty complicated way and involves a lot of writting in my end. To me, it looks like there should be some kind of automatic tool to "run your programs in debug mode" (i.e. create a crash report) in the computers where your application is installed. Does anybody know of a way of creating crash reports on computers where the application that you developed is only installed but not compiled? I assume I would have to compile my project in RelWithDebInfo to achieve something in this field, which is not a problem.