Yes, it works on my phone, and I did test it there first. QML module not found
errors are because of build engine, not emulator. Emulator is just an example of a device without browser installed. What I meant is, if the package sailfish-components-webview-qt5
is not installed, the app would fail. Besides the emulator example, browser in older sailfishos versions without sailfish-components-webview-qt5
in dependencies could be it.
Anyway, I already said that I’ll proceed as you said here, even though this will break if the webview package is not installed. But still, if someone knows a better way (maybe overwriting rpath with QMAKE_RPATHDIR
), let me know.