|
|
| Line 47: |
Line 47: |
| == Run test examples: == | | == Run test examples: == |
| <pre> | | <pre> |
| cd obj-build/dist/bin | | cd obj-*/dist/bin |
| ./testCoreEmbedXul
| |
| or GRE_HOME=xul-distpath ./testCoreEmbedXul
| |
| this works for GTK and Qt port.
| |
|
| |
|
| | Basic core test |
| | ./embedLiteCoreInitTest |
| | |
| | EmbedLiteAPI wrapped into qt/qml widget |
| Qt only, qml based UI with scrolling and zooming (no clicks): | | Qt only, qml based UI with scrolling and zooming (no clicks): |
| MOZ_QT_GRAPHICSSYSTEM=raster ./qtMozQmlEmbed -graphicssystem raster -url slashdot.org
| | ./qmlMozEmbedTest -url linux.org.ru |
| | |
| raster is needed in order to optimize rendering and avoid X usage.
| |
| on egl system like Maemo/Beagleboard export MOZ_ACCELERATED=1 and (also require setViewport(new QGLWidget()))
| |
| | |
| On desktop GLX accelerated rendering does not work, need to teach GLX backend use Qt GL context
| |
|
| |
|
| </pre> | | </pre> |