Custom forms (.ui)

QField should read .ui files to customize forms. Even if some Qt widget might not be recognized, I can’t figure how to make it work. My custom form appears well in QGis but seems ignored by QField. What’s the recipe ?
I tried to open a local project with QField 4.1 on MacOS

@VxTedxV , QField does not support custom form via .UI, that’s tied to Qt Widgets ,which is not compatible with QField’s QML / Qt Quick environment.

That being said, you can do a lot these days with QField 4.1 and QML editor widgets. It’s now possible within a QML editor widget to change attributes via a form.setAttribute(name, value).

Thanks for your answer. You should fix what is written here then : Simple attribute form configuration - QField Ecosystem Documentation

In order to customize the attribute form, it is necessary to use the drag and drop designer in QGIS or to a use pre-written UI file.

(but thanks for your wonderful job !)

@VxTedxV , thanks for pointing this out to us. Fix here: Remove mention of custom UI file-driven forms, we don't support that by nirvn · Pull Request #705 · opengisch/QField-docs · GitHub