Embedding/NewApi/QtWin

< Embedding‎ | NewApi
Revision as of 15:01, 26 June 2008 by Pjohnsen (talk | contribs) (New page: == Qt Widget (win) == 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 == * Same...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Qt Widget (win)

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

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
nmake

Then you an build the test app

cd test
qmake testqmozembed.pro
nmake

NOTE: you can generate VisualC projects instead if you use qmake with "-tp vc"

Run

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