We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b814a28 commit 2198125Copy full SHA for 2198125
1 file changed
src/fasttrack-cli.cpp
@@ -19,6 +19,7 @@ This file is part of Fast Track.
19
#include <stdio.h>
20
#include <stdlib.h>
21
#include <tracking.h>
22
+#include <QCoreApplication>
23
#include <QHash>
24
#include <QHashIterator>
25
#include <QObject>
@@ -100,6 +101,7 @@ All arguments are mandatory except --backPath and --cfg. Loading a configuration
100
101
}
102
103
int main(int argc, char **argv) {
104
+ QCoreApplication app(argc, argv);
105
char env[] = "OPENCV_OPENCL_DEVICE=disabled";
106
putenv(env); // disable OpenCL to fix windows memory leaks and increase performance
107
static struct option long_options[] =
0 commit comments