diff options
author | Lars Knoll <lars.knoll@gmail.com> | 2022-06-14 15:18:48 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@gmail.com> | 2022-06-16 16:41:12 +0200 |
commit | c403e775f60a5d02e761904342ac243be1f22597 (patch) | |
tree | d32406ff9e895d80f32e50be3ccebab6a8cadaa6 /src/multimedia/doc/src/qtmultimedia-cpp.qdoc | |
parent | d97d90df74bf9ebfe3574763aba82ebf28409730 (diff) |
Split spatial audio out into a lib of its own
Move the classes from src/multimedia/spatial into its own
QtSpatialAudio library.
This is required to keep Qt Multimedia compatible with the
requirements from the KDE Free Qt Foundation agreement, as
well as to keep license compatibility with existing applications
licensed under GPLv2 that are using Qt Multimedia.
Moving the classes into a module of their own required a few
additional changes to ensure we generate proper documentation
for the new spatial audio module.
To align the API between C++ and QML, the QML import was also
renamed to QtQuick3D.SpatialAudio.
Pick-to: 6.4
Change-Id: Ia3f9ac5e1edac4b1e07d3302d7a229ada5bdc038
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/multimedia/doc/src/qtmultimedia-cpp.qdoc')
-rw-r--r-- | src/multimedia/doc/src/qtmultimedia-cpp.qdoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/multimedia/doc/src/qtmultimedia-cpp.qdoc b/src/multimedia/doc/src/qtmultimedia-cpp.qdoc index 01d5579af..81e36827c 100644 --- a/src/multimedia/doc/src/qtmultimedia-cpp.qdoc +++ b/src/multimedia/doc/src/qtmultimedia-cpp.qdoc @@ -41,7 +41,10 @@ \snippet doc_src_qtmultimedia.cpp 0 \include module-use.qdocinc using qt module - \snippet ../src/multimedia/doc/snippets/CMakeLists.txt 0 + \code + find_package(Qt6 REQUIRED COMPONENTS Multimedia) + target_link_libraries(mytarget PRIVATE Qt6::Multimedia) + \endcode */ /*! |