I am using QGIS 2.4 on Windows 7 installed by the OSGeo4W-installer.

I want to save the "edit widget"-settings in a style to use them after loading in a different vector layer.

The problem: If I change the "edit widget"-setting in the layer properties (category "Fields") and save them in a style (QGIS layer style) or a layer definition file, the settings are not maintained when I load the style at a different vector layer (shp) or I open the layer definition file once again. It seems that the "edit widget"-settings are only be saved in the qgis-project.

closed as off-topic by PolyGeo May 30 at 21:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that relate to the business of vendors and product teams, such as licensing, pricing, release dates, submission of bug reports and enhancement requests, etc, are off-topic here and should be directed instead to the official software support teams." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.


I believe this has been resolved very recently and will hopefully be included in the next major release (QGIS 2.6) in October: http://hub.qgis.org/issues/11123

  • Unfortunately, it seems it wasn't fixed. Layer Definition Files still not retaining the fields edit widget settings in 2.6. It does stay when using a .qml style file. – mike Apr 15 '15 at 20:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.