|
@@ -7,11 +7,14 @@
|
|
#include "QsLog.h"
|
|
#include "QsLog.h"
|
|
#include "utils/Utils.h"
|
|
#include "utils/Utils.h"
|
|
#include "Version.h"
|
|
#include "Version.h"
|
|
-#include "CrashUploader.h"
|
|
|
|
#include "HelperSocket.h"
|
|
#include "HelperSocket.h"
|
|
#include "UniqueApplication.h"
|
|
#include "UniqueApplication.h"
|
|
#include "Names.h"
|
|
#include "Names.h"
|
|
|
|
|
|
|
|
+#ifdef ENABLE_CRASHDUMP
|
|
|
|
+#include "CrashUploader.h"
|
|
|
|
+#endif
|
|
|
|
+
|
|
using namespace QsLogging;
|
|
using namespace QsLogging;
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
int main(int argc, char** argv)
|
|
@@ -50,7 +53,9 @@ int main(int argc, char** argv)
|
|
|
|
|
|
try
|
|
try
|
|
{
|
|
{
|
|
|
|
+#ifdef ENABLE_CRASHDUMP
|
|
new CrashUploader(helperObject);
|
|
new CrashUploader(helperObject);
|
|
|
|
+#endif
|
|
new HelperSocket(helperObject);
|
|
new HelperSocket(helperObject);
|
|
}
|
|
}
|
|
catch (FatalException& e)
|
|
catch (FatalException& e)
|