Qt 4.8: Menus Example (ActiveQt)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Menus Example (ActiveQt)

Files:

- activeqt/menus/menus.cpp
- activeqt/menus/menus.h
- activeqt/menus/main.cpp
- activeqt/menus/menus.pro

The Menus example demonstrates the use of QMenuBar and QStatusBar in a QMainWindow to implement an in-place active control.

To build the example you must first build the QAxServer library. Then run `qmake` and your make tool in `examples/activeqt/menus`.

The demonstration requires your WebBrowser to support ActiveX controls, and scripting to be enabled.

     <object ID="QMenus" CLASSID="CLSID:4dc3f340-a6f7-44e4-a79b-3e9217695fbd"
     CODEBASE="http://qt.nokia.com/demos/menusax.cab">
     [Object not available! Did you forget to build and register the server?]
     </object>