What would you suggest instead? We would like to have the chance to use .config for all data app. We can add another property to Database that stores the destination folder, for example:
Database {
path: 'hello.db'
location: Database.ConfigLocation
}
I'm not sure about the naming convention, the default option would be Database.DataLocation.
These would be values of an enum exported to qml.
Let me know what you think about this solution.
What would you suggest instead? We would like to have the chance to use .config for all data app. We can add another property to Database that stores the destination folder, for example: ConfigLocation DataLocation.
Database {
path: 'hello.db'
location: Database.
}
I'm not sure about the naming convention, the default option would be Database.
These would be values of an enum exported to qml.
Let me know what you think about this solution.
Giulio