Digia recently released Qt 5.3, but it reads like they provides Qt WebEngine exclusively for their Qt Enterprise Embedded customers, which is not true because you can totally build it from source, and it even works on EGLFS QPA without any modification.
All you need to do is:
- Check out the source from repo
- Edit
src/core/gyp_run.pro
, and replacedesktop_linux.pri
with:linux: include(config/embedded_linux.pri)
- Build as usual:
qmake -r CONFIG+=release && make -j4 && sudo make install
NOTE: this may breaks your desktop Mesa and GL driver, use at your own risk.
If you're looking for a minimal QtWebEngine QML example, here it is: https://gist.github.com/penk/dea91ab88e3e8c838662.
沒有留言:
張貼留言