summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/camera/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/wasm/camera/main.cpp')
-rw-r--r--tests/manual/wasm/camera/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manual/wasm/camera/main.cpp b/tests/manual/wasm/camera/main.cpp
new file mode 100644
index 000000000..8370ffb87
--- /dev/null
+++ b/tests/manual/wasm/camera/main.cpp
@@ -0,0 +1,17 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#include "mainwindow.h"
+
+#include <QApplication>
+#include <QLoggingCategory>
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ QLoggingCategory::setFilterRules("*.debug=false\n"
+ "qt.multimedia.wasm.*=true");
+ MainWindow w;
+ w.show();
+ return a.exec();
+}