Embedding/NewApi/QtWin
From MozillaWiki
Contents
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 as for the win32 sample
- Qt 4.4 for windows
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