Build updates for snapcraft

- Disable linux signal watcher by default
- Improve pro files
This commit is contained in:
Igor Malinovskiy
2018-05-11 17:20:15 +03:00
parent a29b4fc135
commit 1b5a2ef12e
4 changed files with 15 additions and 7 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
#include "app/app.h"
#include "modules/crashhandler/crashhandler.h"
#ifdef Q_OS_LINUX
#ifdef LINUX_SIGNALS
#include <sigwatch.h>
#endif
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
a.initModels();
a.initQml();
#ifdef Q_OS_LINUX
#ifdef LINUX_SIGNALS
UnixSignalWatcher sigwatch;
sigwatch.watchForSignal(SIGINT);
sigwatch.watchForSignal(SIGTERM);