What do you want to achieve?
What have you tried so far?
Screenshot or video
Others
- SquareLine Studio version:
1.5.0 - Operating system:
- Target hardware:
IfLV_USE_KEYBOARD
== 0 then error in _ui_keyboard_set_target() function.
I don’t use a keyboard in my project.
In order to avoid an error, I think that you need to check the use of this widget at the export stage or add something like to the project template
#if LV_USE_KEYBOARD
void _ui_keyboard_set_target(lv_obj_t * keyboard, lv_obj_t * textarea);
#endif
and
#if LV_USE_KEYBOARD
void _ui_keyboard_set_target(lv_obj_t * keyboard, lv_obj_t * textarea)
{
lv_keyboard_set_textarea(keyboard, textarea);
}
#endif
in the corresponding files.
A similar error occurs if other unused widgets are disabled, for example, LV_USE_TEXTAREA
, LV_USE_SPINBOX
, etc.