| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add error message to Devices example for cmake and qmake.
It will allow to avoid building by unsupported operating systems in the
future.
Fixes: QTBUG-109539
Change-Id: Id8d63e8b6c2a9f066466cbd718510007b55019e1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit aba7bc72e1ed1b964959e6e358ea3c77db3586c3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.
Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.
This is a 6.4 re-run of the script we ran in dev, in order to avoid
conflicts between the branches when cherry-picking.
Change-Id: I5eca3df3179dfb2b2682c75a479ba9a4259cc703
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- fix memory leak - QImageCapture
- fix multimple signals connection
Change-Id: I63df2bd16f678c67a3ee90c7e7251575d9cdeb1e
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
(cherry picked from commit ac0e44288d305fb22d9396f97f7ee0b1d371e917)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change of switch (next to audio Input source) should affect the
example. Mute is now connected to the audioSwitch value.
Fixes: QTBUG-107885
Change-Id: I7dd3495916f30dd713ebc7e9c8ae3ccbe734fd49
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit f14b25c9a3c9df370c8af3c88726a19a3cc617ca)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of just a single mention of the Spatial Audio module, list its
types on the top-level module pages, and link to it from the overviews.
List the spatialaudio example(s) as part of the main example group
for multimedia.
Mark Qt Spatial Audio as a Tech. Preview.
Change-Id: I9d5bf0482aadc8516c9b79ab9acda5fbd898f1cb
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
(cherry picked from commit 428d059141f9f2a01b44f8f66909a9447582d74a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Avoid unnecessary repetition in .qdocconf
* Fix incorrect link targets
* Fix mistakes in QML property documentation
* Add documentation for enumeration values in Camera::flashMode
Change-Id: If0f67ded1c014bc75e21ccff832ef197b93e5b24
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
(cherry picked from commit 48434a337831f618deab01f86d36710afe5dcf5b)
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Custom made file dialog with QML was not Android friendly.
Use FileDialog QML type instead of manually written FileBrowser.
Fixes: QTBUG-96084
Change-Id: I8c711291243808365eacdc57df1d99a8a01285b2
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 11a2d9d3100d2231b1ce517d2dda8d8792d2cc03)
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix an issue where the relative paths in the generated
examples-manifest.xml did miss the parent directory, effectively
blocking the examples from being shown in the Qt Creator
Welcome screen.
This broke in commit c403e775f60a, where the exampledirs path
was changed from "../../../examples" to "../../../examples/multimedia"
and "../../../examples/multimediawidgets". This made qdoc miss the
"multimedia" and "multimediawidgets" directories in the generated paths.
To fix this, the patch
* moves all the multimediawidgets examples to multimedia
* sets examplesinstallpath to "multimedia"
The unification of directories is needed because there can be only one
examplesinstallpath per qdoc project.
Fixes: QTBUG-104943
Change-Id: I4d1b1f857563ec23b4d60028ca08d0470ba96298
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
(cherry picked from commit c3081f86f4fc53509d853a2b88aff88df8c55d87)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
warning: Missing emit keyword on signal call Engine::spectrumChanged
[clazy-incorrect-emit]
Change-Id: If67ad30e805d0b95444d1f8402af4421f4fda6e8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 8158647414e9f706a38233f4b7299d695aaeed18)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Must have been missed in the rename
Change-Id: I7f23b5b8889edb99b28f2243084056b12b814002
Reviewed-by: Lars Knoll <lars.knoll@gmail.com>
(cherry picked from commit d5f6155c3a854951d742b18e27faea792155399c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move the members out of the class
- Use QFormLayout for convenience
- Improve the QFileDialog handling
- Add QCommandLineParser
Change-Id: I017e2111105907c870a85ffcc0ab70a6cc222f5d
Reviewed-by: Lars Knoll <lars.knoll@gmail.com>
(cherry picked from commit 4bcf25dde4dabe068aa2741bef03e14ee12370a4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: Ida08dfe6c84778656e942178c3d39042c9ef1ed2
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit e9abd242abfbc368478f7be3e2923e7b100a9386)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Always loop the sound, and add an option to animate the position.
Change-Id: Ib5b4fd230af27b74ce15285625e4c9bbf5ef3f7a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 995376a8894c59d29b27c0b80f0adb91486d954e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Change-Id: Ia3f9ac5e1edac4b1e07d3302d7a229ada5bdc038
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
(cherry picked from commit c403e775f60a5d02e761904342ac243be1f22597)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
The PRODUCT_BUNDLE_IDENTIFIER variable already contains an appropriate
value based on the organization and product name.
Change-Id: I089582a95bedd00712c5a0994129a6c825d0d411
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
| |
So far, we only had a Normal and Headphone mode here. Extend this
to cover Surround configurations, and explicit Stereo mode and
the Headphone mode.
Change-Id: I086d02157d4edfd92e5b24076bee9a51bb5cc68a
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
| |
And fix the example to correctly position the sound source around
the listener.
Change-Id: I66035e22a47902552f08e3dac0cb1ee31608bb59
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
| |
Change-Id: I7442b1e2bac663c560f37e35cb71a6aa6984d8b0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
| |
Naming changes for the spatial audio API after reviewing
it. Most of the names are now both shorter and better
reflect the function they serve.
Change-Id: I07347826f2fadf3d1705c597f35c168b19afe137
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Qt Quick 3D uses a centimeters by default for positions and
distances. Align our API with that choice.
Add a distanceScale property to enable the user to choose a
different scale.
Store all our data internally in meters, to be aligned with the
data expected by resonance audio and to make sure we don't
mess up the existing configuration when the distance scale changes.
Change-Id: Id06cb49bd152bfa7920c096c662ff103041261e0
Reviewed-by: Rafael Roquetto <rafael.roquetto@qt.io>
|
|
|
|
|
|
|
|
| |
Try to improve/clarify naming of properties.
Change-Id: Idd610a95a196c127bfa0922f5a711ab2e483dcbf
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
Rename setWall() to setWallMaterial() for more clarity.
Change-Id: I54dc7095e75bc520017fb394e552a87348d4cb8d
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The muted and volume properties belong to the AudioOutput qml type,
not the MediaPlayer type, so these were fixed.
Added qtquickcontrols module dependency to qdoc project.
Task-number: QTBUG-102306
Pick-to: 6.2 6.3
Change-Id: Iac447482c27a10a2cdba204739f753ccecd88289
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
|
|
|
|
|
|
|
|
| |
Adjustments to the example and some doc clarifications.
Change-Id: I1c6c1f6451949200cac09b9d4beeed80cf12a715
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
|
|
|
|
|
|
|
|
| |
Add a short description of the spatialaudio example and some
overview docs for that part of the API.
Change-Id: I7ee7b61c00f82f3bd4ca438e96b01a7c5e9889ff
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new QSpatialAudioRoom class allows defining a room.
If the listener is inside the room, the properties of that
room will get enabled, giving us first order reflections
and reverb.
Multiple rooms can be defined and the engine will automatically
update the room to be used when the listener position changes.
If the listener is inside multiple rooms, the room with the
smallest volume will get chosen.
Updated the spatialaudio example to allow modifying some
of the room properties for testing.
Change-Id: I94ffe0a6b7e570c4ea77898e021d7fe042fb9b52
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
Unify code that can be shared between the sound and stereo sources
and move implementation details out of the public API.
Change-Id: I28b7ac86aef640f6b2f509004348fb314d4d77f3
Reviewed-by: Rafael Roquetto <rafael.roquetto@qt.io>
|
|
|
|
|
|
|
| |
Rather minimal docs for the spatial audio C++ classes.
Change-Id: I42d68b9ec571eb26f2388dbfcc156cba64f4a724
Reviewed-by: Rafael Roquetto <rafael.roquetto@qt.io>
|
|
|
|
|
|
|
|
| |
A simple widget based example that lets you pan one sound
source around in space.
Change-Id: I09e66fd217a136ef5bacaf7c3bb46af462993736
Reviewed-by: Rafael Roquetto <rafael.roquetto@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove double newline at the end
- Use unversioned Qt commands
- Remove QtC specific hacks
Amends 236eec9cbe3
Pick-to: 6.3
Change-Id: Ia6dc5dc801a9002f9f5740869651c343b714913b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Added a step through of the code and added images and animations to
support the explanations.
Large videos were uploaded to YouTube and embedded.
Task-number: QTBUG-100512
Pick-to: 6.3
Change-Id: Ie79de8e7af7908d8f2728c2af273ed5f4ae51a65
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Codesigning with entitlements is not needed unless the
hardened-runtime option is enabled, so we can remove this
post-build step.
Fixes: QTBUG-101719
Pick-to: 6.3 6.2 6.2.4
Change-Id: I35181220dbe4ef6b59072dcd3e76f066ab85db60
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These examples use resources files with qml files inside but the
resource files were added in the project sources. That prevented
the app to find and use the resource files. To fix the issue the
resources were added using qt6_add_resources macro.
Note that adding the cmake flag set(CMAKE_AUTORCC ON) would also
work, but the qt6_add_resources macro is more consistent with the
rest of the examples.
Fixes: QTBUG-101518
Pick-to: 6.3
Change-Id: I5fb2481d5576683171a2292bdc35e417ee6d8fab
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove "# generated from xyz.pro" comment from pro2cmake
- Remove automatic use of CMAKE_AUTORCC
- Only opt into CMAKE_AUTOUIC if .ui files are involved
- Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR
- Combine multiple find_package(Qt6 ... calls)
- use REQUIRED COMPONENTS
- sort components alphabetically
- Fix wrong indentations
- Use (only) one empty line after multi-line commands
Pick-to: 6.3
Change-Id: I9f60da23df1547d685439b0263fa5bf533b7c69e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Camera list was shown outside of the popup
Change-Id: Ib3b73b092293485271919668b5ce767b935601c4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
qt_examples_build_begin needs the EXTERNAL_BUILD flag
to know that it's safe to build examples as ExternalProjects.
It still won't do it in CI until we enable building
examples as ExternalProjects for prefix builds.
This is preparation for that.
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: Ie7b3be8d74c1eb9e5f09dbe1819d56c2a42653fc
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
|
|
|
|
|
|
|
|
|
| |
After the fix, metadata of the video shown correctly on MetaData page.
Task-number: QTBUG-99038
Pick-to: 6.2 6.3
Change-Id: I3ef2d90c237d1740c550ff4537fe5184a88bea5f
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
|
|
|
|
|
|
| |
Nothing working, just trying to enumerate devices and formats.
Change-Id: I8dddfe823a13d166f5d3c36030fd6e9882a6815d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
Add install command to deploy the examples correctly.
Pick-to: 6.3 6.2
Change-Id: If9c24c4267a801078a4bf3f783587afeeb734be0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
And fix a few smaller issues.
Change-Id: I8336820832810102329e97d225d09d0c8fdae8b1
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTBUG-97838
Pick-to: 6.2 6.3
Change-Id: I355958b99f62fc85228b3dd3afd06aa01005008c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
| |
After the fix, seek works s it should be.
Task-number: QTBUG-99038
Change-Id: I6658dd3e860e88c9fee8e457d7cdcd31df840426
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The camera example was simply trying to get the format with
the highest possible resolution. But that often lead to formats
with a very low frame rate being chosen. Change the algorithm
to find the highest resolution format with at least 30FPS.
Fixes: QTBUG-97817
Pick-to: 6.2 6.3
Change-Id: I5e043188a4ed3d4acd72190b96fba4095a3f9aa2
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Factor out a function to calculate the level from the data
to make it clearer that push does not require reimplementing
a QIODevice.
Complements a71362d9ef7098c1d7869b3768a0990a61474980.
Pick-to: 6.3 6.2
Change-Id: I4899b96d1e8d0336f960e514bfd355a894522aa8
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use a QWidget instead of a QMainWindow since no QMainWindow
functionality is used and the controls are wrongly parented
- Change the update signal of AudioInfo to levelChanged(level),
removing the need for a lamba
- Streamline the code
Pick-to: 6.3
Pick-to: 6.2
Change-Id: Ic03a5414ee5da4841532ad23db112d0594f458e5
Reviewed-by: Doris Verria <doris.verria@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apple needs apps to specify proper entitlements in order to grant the
executable permissions to use services like camera and microphone.
The multimedia examples using microphone and camera were sometimes
crashing because of missing entitlements. To fix, add an entitlement
file to all examples using these services, and add a post-build
command to codesign the executables with the specified entitlements.
Task-number: QTBUG-98419
Pick-to: 6.3 6.2
Change-Id: I6a578def1f6a41b4d106ee49c0c32fad304ef3cb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: I7b3fe87c4dc9b3ed71c97598d07c592c7e707db8
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
|
|
|
|
|
|
|
|
|
| |
After the fix, the buttons on video side will behave as they should and preview plays the video.
Fixes: QTBUG-99134
Pick-to: 6.2 6.3
Change-Id: I593aad3f37b93b3699781c6b143e7e0c9a157ec3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Update the metadata information to show track-specific metadata for
the active tracks, besides the media's metadata.
Add a missing signal emmission on darwin's mediaplayer.
Pick-to: 6.2
Change-Id: I0513d3ab0c2b62cf74ef060bc1367e2589f68bcd
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
| |
After patch, you can use the camera in portrait and landscape mode on mobile devices.
Task-number: QTBUG-96077
Change-Id: Idd46498e1166bab09a27d182ce707d8bb4528c24
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|