Updated QtMultimedia declarative module to version 5.0
The QtMultimedia module should have version 5.0 to align with Qt 5 in general. This change updates the version, but keeps 4.0 versions of the elements for compatability purposes. Documentation and examples has also been updated to reflect this version change. Change-Id: Ica10c1a5ecc2c7233192a65e04ff77eb33a77e30 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
@@ -77,7 +77,7 @@ a wiggly effect to the content:
|
||||
|
||||
\code
|
||||
import QtQuick 2.0
|
||||
import QtMultimedia 4.0
|
||||
import QtMultimedia 5.0
|
||||
|
||||
Rectangle {
|
||||
width: 300
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
|
||||
\qml
|
||||
|
||||
import Qt 4.7
|
||||
import QtMultimedia 4.0
|
||||
import QtQuick 2.0
|
||||
import QtMultimedia 5.0
|
||||
// ...
|
||||
|
||||
Audio {
|
||||
@@ -237,8 +237,8 @@
|
||||
|
||||
\qml
|
||||
|
||||
import Qt 4.7
|
||||
import QtMultimedia 4.0
|
||||
import QtQuick 2.0
|
||||
import QtMultimedia 5.0
|
||||
|
||||
|
||||
SoundEffect {
|
||||
@@ -264,8 +264,8 @@
|
||||
including white balance, exposure compensation and flash mode, and control zoom.
|
||||
|
||||
\qml
|
||||
import Qt 4.7
|
||||
import QtMultimedia 4.0
|
||||
import QtQuick 2.0
|
||||
import QtMultimedia 5.0
|
||||
|
||||
Camera {
|
||||
focus : visible // to receive focus and capture key events when visible
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
//! [complete snippet]
|
||||
import Qt 4.7
|
||||
import QtMultimedia 4.0
|
||||
import QtQuick 2.0
|
||||
import QtMultimedia 5.0
|
||||
|
||||
Text {
|
||||
text: "Click Me!";
|
||||
|
||||
Reference in New Issue
Block a user