# Use QML forms in Qfield?

**URL:** https://community.qfield.org/t/use-qml-forms-in-qfield/925
**Category:** Ask the Community
**Tags:** gh-import
**Created:** [14 May 2025 03:17 UTC](https://community.qfield.org/t/use-qml-forms-in-qfield/925 "2025-05-14T03:17:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:17 UTC](https://community.qfield.org/t/use-qml-forms-in-qfield/925/1 "2025-05-14T03:17:00Z")

</div>

In relation to this issue ([Feature request: geologic compass · Issue #1882 · opengisch/QField · GitHub](https://github.com/opengisch/QField/issues/1882)), I’m actually prepared to try and see if I can teach myself enough QML to call QtSensors (that appear to be available in QField) and get a compass reading. I would then use this in an attribute form to populate the relevant attributes.

However, it is unclear to me whether QField actually supports user-defined QML widgets (the ones that are defined in the attribute form of QGIS) ? Quick and dirty tests using the “hello word” widget would appear to suggest otherwise, but I could not find an explicit answer ?

* * *

_Imported from [GitHub discussion](https://github.com/opengisch/qfield/discussions/2719) by @jfmoyen on 2022-04-07T19:05:05Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:17 UTC](https://community.qfield.org/t/use-qml-forms-in-qfield/925/2 "2025-05-14T03:17:01Z")

</div>

The short answer is “yes”, QField 💚 QML & HTML forms [QField 💖 QML & HTML by nirvn · Pull Request #1221 · opengisch/QField · GitHub](https://github.com/opengisch/QField/pull/1221) .

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2719#discussioncomment-2584554) by @suricactus on 2022-04-18T07:30:58Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:17 UTC](https://community.qfield.org/t/use-qml-forms-in-qfield/925/3 "2025-05-14T03:17:03Z")

</div>

It does ? Lovely ! My two-minute test suggested otherwise, but obviously I was too quick to give up 🙂

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2719#discussioncomment-2587953) by @jfmoyen on 2022-04-18T19:31:39Z_
