Embedding/NewApi/QtWin: Difference between revisions
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| 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/ | * [http://trolltech.com/products/appdev/platform/qt-for-windows/ Qt 4.4] for windows | ||
== Build == | == Build == | ||
Latest revision as of 08:45, 29 September 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 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