ui/qt/toolkit.cpp

changeset 1148
6ebe1b98f53b
parent 1146
35e098a663a7
--- a/ui/qt/toolkit.cpp	Thu May 28 21:17:26 2026 +0200
+++ b/ui/qt/toolkit.cpp	Thu May 28 21:18:33 2026 +0200
@@ -48,6 +48,9 @@
 
 static UiBool exit_on_shutdown;
 
+// NOOP on most platforms, expect macos
+extern "C" UIEXPORT void ui_set_main_thread_error_msg(const char *msg) {}
+
 void ui_init(const char *appname, int argc, char **argv) {
     application_name = appname ? strdup(appname) : NULL;
     

mercurial