Use QCameraInfo in camera example.
To replace QCamera::availableDevices(), which is deprecated since 5.3. Change-Id: I0b1bd6286ec78d6d26ce309d224369989d4a5063 Reviewed-by: Christian Stromme <christian.stromme@digia.com>
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
~Camera();
|
||||
|
||||
private slots:
|
||||
void setCamera(const QByteArray &cameraDevice);
|
||||
void setCamera(const QCameraInfo &cameraInfo);
|
||||
|
||||
void startCamera();
|
||||
void stopCamera();
|
||||
|
||||
Reference in New Issue
Block a user