Merge remote-tracking branch 'origin/release' into stable
Change-Id: Ic82ed2ba60d9855f1490d4ca66451dbc42ae6e2f
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
CONFIG += java
|
|
||||||
API_VERSION = android-11
|
|
||||||
JAVASOURCES += main.java
|
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
import android.graphics.SurfaceTexture;
|
|
||||||
|
|
||||||
class BuildTest
|
|
||||||
{
|
|
||||||
public static void main(String [] args) { }
|
|
||||||
}
|
|
||||||
@@ -11,7 +11,9 @@ win32 {
|
|||||||
} else:mac {
|
} else:mac {
|
||||||
qtCompileTest(avfoundation)
|
qtCompileTest(avfoundation)
|
||||||
} else:android {
|
} else:android {
|
||||||
!qtCompileTest(android):error("QtMultimedia for Android requires API level 11")
|
SDK_ROOT = $$(ANDROID_SDK_ROOT)
|
||||||
|
isEmpty(SDK_ROOT): SDK_ROOT = $$DEFAULT_ANDROID_SDK_ROOT
|
||||||
|
!exists($$SDK_ROOT/platforms/android-11/android.jar): error("QtMultimedia for Android requires API level 11")
|
||||||
} else {
|
} else {
|
||||||
qtCompileTest(alsa)
|
qtCompileTest(alsa)
|
||||||
qtCompileTest(pulseaudio)
|
qtCompileTest(pulseaudio)
|
||||||
|
|||||||
57
src/multimedia/doc/src/platform-notes-windows.qdoc
Normal file
57
src/multimedia/doc/src/platform-notes-windows.qdoc
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
**
|
||||||
|
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
||||||
|
** Contact: http://www.qt-project.org/legal
|
||||||
|
**
|
||||||
|
** This file is part of the documentation of the Qt Toolkit.
|
||||||
|
**
|
||||||
|
** $QT_BEGIN_LICENSE:FDL$
|
||||||
|
** Commercial License Usage
|
||||||
|
** Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
** accordance with the commercial license agreement provided with the
|
||||||
|
** Software or, alternatively, in accordance with the terms contained in
|
||||||
|
** a written agreement between you and Digia. For licensing terms and
|
||||||
|
** conditions see http://qt.digia.com/licensing. For further information
|
||||||
|
** use the contact form at http://qt.digia.com/contact-us.
|
||||||
|
**
|
||||||
|
** GNU Free Documentation License Usage
|
||||||
|
** Alternatively, this file may be used under the terms of the GNU Free
|
||||||
|
** Documentation License version 1.3 as published by the Free Software
|
||||||
|
** Foundation and appearing in the file included in the packaging of
|
||||||
|
** this file. Please review the following information to ensure
|
||||||
|
** the GNU Free Documentation License version 1.3 requirements
|
||||||
|
** will be met: http://www.gnu.org/copyleft/fdl.html.
|
||||||
|
** $QT_END_LICENSE$
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\page platform-notes-windows.html
|
||||||
|
\title Qt Multimedia on Windows
|
||||||
|
\brief Platform notes for Windows
|
||||||
|
|
||||||
|
This page covers the availability of Qt Multimedia features on Windows.
|
||||||
|
|
||||||
|
\section1 Implementation
|
||||||
|
|
||||||
|
Qt Multimedia features for Windows are implemented in two plugins; one
|
||||||
|
using the Microsoft DirectShow API, and another using WMF (Windows Media
|
||||||
|
Foundation) framework. DirectShow API was introduced in Windows 98, and
|
||||||
|
gradually deprecated from Windows XP onwards. Media Foundation framework
|
||||||
|
was introduced in Windows Vista as a replacement for DirectShow and other
|
||||||
|
multimedia APIs. Consequently, WMF plugin in Qt is supported only for
|
||||||
|
Windows Vista and later versions of the operating system.
|
||||||
|
|
||||||
|
\section1 Limitations
|
||||||
|
|
||||||
|
The WMF plugin in Qt does not currently provide a camera backend. Instead,
|
||||||
|
limited support for camera features is provided by the DirectShow
|
||||||
|
plugin. Basic features such as displaying a viewfinder and capturing a
|
||||||
|
still image are supported, however, majority of camera controls are not
|
||||||
|
implemented.
|
||||||
|
|
||||||
|
Video recording is currently not supported. Additionally, the DirectShow
|
||||||
|
plugin does not support any low-level video functionality such as
|
||||||
|
monitoring video frames being played or recorded using \l QVideoProbe or
|
||||||
|
related classes.
|
||||||
|
*/
|
||||||
@@ -131,6 +131,7 @@
|
|||||||
\section2 Platform Notes
|
\section2 Platform Notes
|
||||||
\list
|
\list
|
||||||
\li \l{BlackBerry}
|
\li \l{BlackBerry}
|
||||||
|
\li \l{Qt Multimedia on Windows}{Windows}
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\section2 Reference
|
\section2 Reference
|
||||||
|
|||||||
@@ -31,9 +31,7 @@
|
|||||||
\ingroup qmlmodules
|
\ingroup qmlmodules
|
||||||
\brief Provides QML types for multimedia support.
|
\brief Provides QML types for multimedia support.
|
||||||
|
|
||||||
\section1 Overview
|
The QML types for \l{Qt Multimedia} support the basic use cases such as:
|
||||||
|
|
||||||
The QML types for Qt Multimedia support the basic use cases such as:
|
|
||||||
\list
|
\list
|
||||||
\li audio and video playback,
|
\li audio and video playback,
|
||||||
\li access camera and radio functionality,
|
\li access camera and radio functionality,
|
||||||
@@ -41,6 +39,11 @@ The QML types for Qt Multimedia support the basic use cases such as:
|
|||||||
\li and access camera settings.
|
\li and access camera settings.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
The QML types can be imported into your application using the following import
|
||||||
|
statement in your .qml file:
|
||||||
|
\code
|
||||||
|
import QtMultimedia 5.0
|
||||||
|
\endcode
|
||||||
|
|
||||||
\section1 QML types
|
\section1 QML types
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1220,7 +1220,7 @@ QMultimedia::AvailabilityStatus QMediaPlayer::availability() const
|
|||||||
\property QMediaPlayer::volume
|
\property QMediaPlayer::volume
|
||||||
\brief the current playback volume.
|
\brief the current playback volume.
|
||||||
|
|
||||||
The playback volume is a linear in effect and the value can range from 0 -
|
The playback volume is linear in effect and the value can range from 0 -
|
||||||
100, values outside this range will be clamped.
|
100, values outside this range will be clamped.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user