- Qt 6.4
- Active Qt
- Menus Example (ActiveQt)
- Qt 6.4.3 Reference Documentation

# Menus Example (ActiveQt)

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://www.qt-project.org/demos/menusax.cab">
     [Object not available! Did you forget to build and register the server?]
     </object>

Example project @ code.qt.io