Qt Spatial Audio Module C++ Classes | Qt Spatial Audio 6.4.1

- Qt 6.4
- Qt Spatial Audio
- Qt Spatial Audio Module C++ Classes
- Technology Preview

# Qt Spatial Audio Module C++ Classes

The Qt Spatial Audio module provides functionality for 3D audio. More...

## Classes

QAmbientSound | A stereo overlay sound
QAudioListener | Defines the position and orientation of the person listening to a sound field defined by QAudioEngine

## Detailed Description

### Using the Module

Using a Qt module requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.

#### Building with CMake

Use the `find_package()` command to locate the needed module components in the `Qt6` package:

     find_package(Qt6 REQUIRED COMPONENTS SpatialAudio)
     target_link_libraries(my_project PRIVATE Qt6::SpatialAudio)