What values can actually be stored in ConfigurationGroup and ConfigurationValue?

Hello, what values can actually be stored with them? From the documentation, I only know that unsupported types are ignored, but I can get any information about which types are ignored. Are ListModels ignored? Can I store an Array with ListElements in it or only with strings in it? Although it claims to store variant, it doesn’t seem to store all types.

I discovered 3 things:

  1. I have to fully overwrite the value stored by ConfigurationValue to get the change stored
  2. I can’t store a ListModel but an array of objects with than can be added to the model with model.append(array)
  3. I can’t store arrays with ConfigurationGroup

Apparently, not all types can survive QML => QVariant => GVariant transformation :slight_smile:

1 Like