qmlonline icon indicating copy to clipboard operation
qmlonline copied to clipboard

Enable HoverEffects

Open jetrotal opened this issue 3 years ago • 0 comments

QmlOnline doesn't have native hover behavior on buttons, menubars, etc.

I was checking a Forked Repo, called Qaterial, when I found this file: https://github.com/OlivierLDff/QaterialOnline/blob/master/src/main.cpp

There they added:

// useHoverEffects is disabled for wasm
    const auto styleHints = QGuiApplication::styleHints();
    styleHints->setUseHoverEffects(true);

I guess this is a fix to the lack of hover effects. They also included many more fixes to make the wasm experience closer to the desktop one, maybe it's worth to check it out.

Thanks in advance.

jetrotal avatar Jan 30 '22 19:01 jetrotal