Embedding/NewApi/QtWin: Difference between revisions
Jump to navigation
Jump to search
(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...) |
|||
| Line 4: | Line 4: | ||
== Prerequisites == | == Prerequisites == | ||
* Same as for [[Embedding/NewApi/Win32#Prerequisites|the win32 sample]] | * Same as for [[Embedding/NewApi/Win32#Prerequisites|the win32 sample]] | ||
* | * [http://trolltech.com/downloads/opensource Qt 4.4] | ||
== Build == | == Build == | ||
Revision as of 15:03, 26 June 2008
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
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