diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-11-08 15:09:04 +0100 |
---|---|---|
committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-11-11 11:11:40 +0000 |
commit | 28bfd773cac84d228df9e6bdcc9bed84d79935c5 (patch) | |
tree | 38263966cf0e40c3752513b857ac1c5a7c961998 /examples/quick/keyinteraction/GridMenu.qml | |
parent | aa4897e017c027c935cd349450bf787393ce5552 (diff) |
MouseArea example: use qt_add_qml_module() and update a signal handler
Thing patch updates the CMakeLists.txt file to use qt_add_qml_module()
instead of qt6_add_resource().
Additionally, it changes a signal handler, which was previously a plain
statement, into a js function, which is the preferred way to write signal
handlers.
Task-number: QTBUG-98130
Pick-to: 6.2
Change-Id: I1b08dcd3eae370d78587aa3d37d9456437b54b42
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quick/keyinteraction/GridMenu.qml')
0 files changed, 0 insertions, 0 deletions