Is it possible to have a Form with python script usable in QField ?
Imported from GitHub discussion by @sigmoe on 2022-10-14T14:58:09Z
Is it possible to have a Form with python script usable in QField ?
Imported from GitHub discussion by @sigmoe on 2022-10-14T14:58:09Z
Unfortunately python is not currently supported in QField. I hope some advanced QGIS expression can make a workaround.
Imported from GitHub comment by @suricactus on 2022-10-15T10:06:11Z
Hello, Iām revisiting this discussion, hoping that things have changed over time.
The form functionality with integrated PyQGIS functions works fine in QGIS, but Iām not getting any results in QField. Is this a configuration issue, or is the functionality still missing?
Hi @GeoMatteo
Python support is not included in QField (and not planned for anytime in the near future).
However, it is now possible to extend QField functionality with plugins Plugins - QField Ecosystem Documentation
The API is continuously extended based on real world needs.
There is also the possibility to have QML widgets in QField which can include logic that works in both QGIS and in QField The new QML widgets in QGIS ā When widgets get unbridled ā OPENGIS.ch .