GSettings Schema error on windows

Hello all. I’m using GTK-RS (Rust’s bindings for gtk) to create a program, and I’ve recently attempted to add a FileChooser widget. I’m developing on Linux and have successfully been cross compiling to Windows. However, now that I have incorporated the Filechooser widget, I’m getting the following error:
*GLib-GIO-ERROR *: 11:11:39.629: No GSettings schemas are installed on the system

From my research I’d discovered that I needed to included the gschema.compiled file in share/glib-2.0/schemas
I’ve done this, and still get the error. Any advice?

1 Like
  1. You need to copy your gschema to the schema dir and run glib-compile-schemas <schema-dir>. This will generate a gschema.compiled file.

  2. If that didn’t work, it means that there are issues with the app finding schema dir. The following might help:

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.