import QtQuick 2.6
import QtQuick.Controls 1.5
import QtQuick.Dialogs 1.2
import QtMultimedia 5.6
import QtQuick.Layouts 1.3
Item {
width: 640
height: 360
Camera {
id: camera
imageProcessing.whiteBalanceMode: CameraImageProcessing.WhiteBalanceFlash
exposure {
exposureCompensation: -1.0
exposureMode: Camera.ExposurePortrait
}
flash.mode: Camera.FlashRedEyeReduction
imageCapture {
onImageCaptured: {
photoPreview.source = preview
}
}
}
VideoOutput {
source: camera
anchors.fill: parent
focus : visible
}
Image {
id: photoPreview
}
}
I recently upgraded from Qt 5.5.1 to Qt 5.6 and encountered an issue with the project. I updated my pro file by adding QT += multimedia
. I am using MSVC 2013 on Windows 7. The program builds successfully, but when I try to run it, I see a message in the Application Output saying "failed to access to the graph builder" multiple times. Although the program runs, I am unable to access Design mode as it shows an error in the QML file. Can anyone help me resolve this issue?