We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6af0739 commit 955d416Copy full SHA for 955d416
1 file changed
src/main.cpp
@@ -38,6 +38,9 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt
38
int main(int argc, char *argv[]) {
39
qputenv("OPENCV_OPENCL_DEVICE", "disabled"); // disable OpenCL to fix windows memory leaks and increase performance
40
if (qstrcmp(argv[1], "--cli")) {
41
+#ifdef Q_OS_MACOS
42
+ QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true);
43
+#endif
44
QApplication a(argc, argv);
45
QPixmap pixmap(QStringLiteral(":/assets/icon.png"));
46
QSplashScreen splash(pixmap);
0 commit comments