Confirmed users
180
edits
| Line 53: | Line 53: | ||
== Build instructions: == | == Build instructions: == | ||
Clone repositories | |||
<pre> | <pre> | ||
mkdir ~/mozembed | |||
cd ~/mozembed | |||
# Gecko Engine with EmbedLite API | |||
git clone git://github.com/tmeshkova/mozilla-central.git | git clone git://github.com/tmeshkova/mozilla-central.git | ||
# | # Embedlite toolkit independent components (History,prompt et.c.) | ||
git clone git@github.com:tmeshkova/embedlite-components.git | |||
. | |||
# | # qtmozembed - Qt wrapper library around EmbedLite API for quick integration into QML. | ||
./ | git clone git@github.com:tmeshkova/qtmozembed.git | ||
# qmlmozbrowser UI application which works as simple reference UI | |||
git clone git@github.com:tmeshkova/qmlmozbrowser.git | |||
</pre> | </pre> | ||
Build | Build with dpkg-buildpackage | ||
<pre> | <pre> | ||
cd ~/mozembed/mozilla-central | |||
cd qtmozembed | dpkg-buildpackage -us -uc -b -nc | ||
dpkg -i ../xulrunner*.deb | |||
./ | cd ~/mozembed/embedlite-components | ||
dpkg-buildpackage -us -uc -b -nc | |||
dpkg -i ../embedlite-components*.deb | |||
cd ~/mozembed/qtmozembed | |||
dpkg-buildpackage -us -uc -b -nc | |||
dpkg -i ../libqtmozembed*.deb | |||
cd ~/mozembed/qmlmozbrowser | |||
dpkg-buildpackage -us -uc -b -nc | |||
dpkg -i ../qmlmozbrowser*.deb | |||
</pre> | </pre> | ||
# Simple test to check | |||
<pre> | <pre> | ||
/usr/lib/xulrunner-21.0a1/embedLiteCoreInitTest | |||
./ | |||
</pre> | </pre> | ||
# For development it is better to link xulrunner objdir to system (on desktop or on device with ~/mozembed mounted via NFS) | |||
<pre> | <pre> | ||
cd ~/mozembed/mozilla-central | |||
./link_to_system.sh obj-xr-qt /usr | |||
# for embedlite-components, qtmozembed, qmlmozbrowser just run | |||
./link_to_system.sh | ./link_to_system.sh | ||
</pre> | </pre> | ||
| Line 103: | Line 104: | ||
Finally run test example: | Finally run test example: | ||
<pre> | <pre> | ||
qmlMozEmbedTest -url about:license | |||
</pre> | </pre> | ||