diff -r 0e90bdfc2642 -r 4933920eba89 qmlfrontend/engine_instance.cpp --- a/qmlfrontend/engine_instance.cpp Sun May 19 15:55:26 2024 +0200 +++ b/qmlfrontend/engine_instance.cpp Mon May 20 14:58:30 2024 +0200 @@ -88,17 +88,21 @@ } void EngineInstance::simpleEvent(Engine::SimpleEventType event_type) { - simple_event(m_instance.get(), event_type); + simple_event(m_instance.get(), + static_cast(event_type)); } void EngineInstance::longEvent(Engine::LongEventType event_type, Engine::LongEventState state) { - long_event(m_instance.get(), event_type, state); + long_event(m_instance.get(), static_cast(event_type), + static_cast(state)); } void EngineInstance::positionedEvent(Engine::PositionedEventType event_type, qint32 x, qint32 y) { - positioned_event(m_instance.get(), event_type, x, y); + positioned_event(m_instance.get(), + static_cast(event_type), x, + y); } void EngineInstance::renderFrame() { render_frame(m_instance.get()); }