/usr/share/qt5/doc/qtmultimedia/changes.html is in qtmultimedia5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- changes.qdoc -->
<title>Changes in Qt Multimedia | Qt Multimedia 5.9</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.9</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td >Changes in Qt Multimedia</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#new-features-in-qt-5-0">New features in Qt 5.0</a></li>
<li class="level1"><a href="#removed-features">Removed features</a></li>
<li class="level1"><a href="#changed-features">Changed features</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Changes in Qt Multimedia</h1>
<span class="subtitle"></span>
<!-- $$$changes.html-description -->
<div class="descr"> <a name="details"></a>
<p>The Qt Multimedia module in Qt 5 combines (and replaces) two older modules, namely the Qt Multimedia module from Qt 4.x, and Qt Multimedia Kit module from Qt Mobility. Existing code that uses Qt Multimedia from Qt 4 can be ported with minimal effort, but porting code that uses Qt Multimedia Kit may be a more involved process. The <a href="changes.html#changed-features">changed features</a> section highlights changes relevant to porting.</p>
<p>Also, note that widget-based classes, such as <a href="qvideowidget.html">QVideoWidget</a>, are now in a separate module called Qt Multimedia Widgets.</p>
<a name="new-features-in-qt-5-0"></a>
<h2 id="new-features-in-qt-5-0">New features in Qt 5.0</h2>
<p>There are a number of new features in Qt Multimedia:</p>
<ul>
<li>Expanded QML API</li>
<li>In addition to the <a href="qml-multimedia.html#video">Video</a> QML type, there is now the option of using <a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a> and <a href="qml-qtmultimedia-videooutput.html">VideoOutput</a> together</li>
<li>QML <a href="qml-qtmultimedia-torch.html">Torch</a> class</li>
<li>New <a href="qaudiorecorder.html">QAudioRecorder</a> class</li>
<li>Volume support for <a href="qaudiooutput.html">QAudioOutput</a> and <a href="qaudioinput.html">QAudioInput</a></li>
<li>More examples and documentation</li>
<li><a href="qsound.html">QSound</a> moved from Qt GUI to Qt Multimedia</li>
<li><a href="qsoundeffect.html">QSoundEffect</a> available to C++ now, as well as QML</li>
<li>FM Radio Data System classes and types now available (<a href="qradiodata.html">QRadioData</a>, <a href="qml-qtmultimedia-radiodata.html">RadioData</a>)</li>
<li>Various other API improvements and bugfixes</li>
</ul>
<a name="removed-features"></a>
<h2 id="removed-features">Removed features</h2>
<p>A number of classes or features previously offered in Qt Multimedia or Qt Multimedia Kit have been removed.</p>
<div class="table"><table class="generic" width="70%">
<thead><tr class="qt-style"><th >Removed feature</th><th >Notes</th></tr></thead>
<tr valign="top" class="odd"><td >QMediaImageViewer</td><td >This class (and related controls and services) were removed since their functionality was not suitable for many applications</td></tr>
</table></div>
<a name="changed-features"></a>
<h2 id="changed-features">Changed features</h2>
<p>A number of classes previously offered in Qt Multimedia or Qt Multimedia Kit have changed in ways that may affect previously written code. This table highlights such changes.</p>
<div class="table"><table class="generic" width="70%">
<thead><tr class="qt-style"><th >Changed feature</th><th >Notes</th></tr></thead>
<tr valign="top" class="odd"><td ><code>qmake</code> project file changes</td><td >Previously, to use Qt Multimedia Kit, the <code>qmake</code> project file must contain<pre class="cpp">
CONFIG <span class="operator">+</span><span class="operator">=</span> mobility
MOBILITY <span class="operator">+</span><span class="operator">=</span> multimedia
</pre>
<p>Now, you only need to write</p>
<pre class="cpp">
QT <span class="operator">+</span><span class="operator">=</span> multimedia
</pre>
<p>Or, if you want to use the widget classes,</p>
<pre class="cpp">
QT <span class="operator">+</span><span class="operator">=</span> multimedia multimediawidgets
</pre>
</td></tr>
<tr valign="top" class="even"><td >Namespaces</td><td >The <code>QtMultimediaKit</code> namespace has been renamed to <a href="qmultimedia.html">QMultimedia</a>. This affects a few enumerations, namely <code>SupportEstimate</code>, <code>EncodingQuality</code>, <code>EncodingMode</code> and <code>AvailabilityStatus</code>. Searching and replacing <code>QtMultimediaKit</code> with <code>QMultimedia</code> will greatly aid porting efforts. Metadata have been split off into their own namespace, <a href="qmediametadata.html">QMediaMetaData</a>.</td></tr>
<tr valign="top" class="odd"><td >Metadata types</td><td >In Qt Multimedia Kit, pre-defined metadata keys were enumerations in the <code>QtMultimediaKit</code> namespace. These pre-defined keys have been changed to string literals in the <code>QMediaMetaData</code> namespace, for consistency with extended keys.</td></tr>
<tr valign="top" class="even"><td >Metadata accessor methods</td><td >In Qt Multimedia Kit, there were two different families of methods to access metadata. Functions such as <code>QMediaObject::metaData()</code> operated on pre-defined metadata using enumerated keys, while functions such as <code>QMediaObject::extendedMetaData()</code> operated on extended metadata using string keys. Qt 5 combines both families into one (e.g. <a href="qmediaobject.html#metaData">QMediaObject::metaData</a>()), which can operate on both pre-defined and extended metadata, using string keys.</td></tr>
<tr valign="top" class="odd"><td >Qt Metatype registration</td><td >Qt 5 registers many more classes and types with the meta-object system than before. If you have previously applied <a href="../qtcore/qmetatype.html#Q_DECLARE_METATYPE">Q_DECLARE_METATYPE</a> macros to any Qt Multimedia class, you will probably need to remove them.</td></tr>
<tr valign="top" class="even"><td ><a href="qsoundeffect.html">QSoundEffect</a> availability</td><td >The <a href="qml-multimedia.html#soundeffect">SoundEffect</a> QML type was publicly accessible in Qt Multimeda Kit, and now the C++ version is officially public too. If your code contains the previously undocumented <a href="qsoundeffect.html">QSoundEffect</a>, you may need to update it.</td></tr>
<tr valign="top" class="odd"><td >Camera controls</td><td >A large number of the camera controls (<a href="qcameraimageprocessingcontrol.html">QCameraImageProcessingControl</a>, <a href="qcamerafocuscontrol.html">QCameraFocusControl</a>, etc.) have been updated to address a number of design flaws. In particular, a number of discrete accessor methods have been collapsed into parametrized methods, and the ranges or data types of some parameters have been adjusted.</td></tr>
</table></div>
</div>
<!-- @@@changes.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|