Embedding/NewApi/QtLinux

From MozillaWiki
< Embedding‎ | NewApi
Revision as of 13:44, 22 September 2008 by Pjohnsen (talk | contribs) (New page: == Qt Widget (linux) == This is a Qt widget that uses the new embedding API to display content. There is also a simple test program showing how to use the widget. == Prerequisites == * Qt...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Qt Widget (linux)

This is a Qt widget that uses the new embedding API to display content. There is also a simple test program showing how to use the widget.

Prerequisites

  • Qt build of mozilla User:Pjohnsen/MozillaQtBuild

Build

There are qmake project files for the widget and the test program. Here is how to build:

First build the widget itself into a library

cd mozembed/qt
qmake mozembed.pro
make

Then you can build the test app

cd test
qmake testqmozembed.pro
make

Run

You need to add GRE_HOME to your path. You can then run the test application from mozembed/qt/test/testqmozembed