With the techniques used in QOrbitCameraController you cannot yet handle wheel events. This will be implemented in Qt 5.8 AFAIK.
If you want to have something now you will have to implement it the old fashoined way i.e. override the virtual function void Qt3DWindow::wheelEvent(QWheelEvent *ev) and there change the field of view of the camera().
I found this link: Multimedia Backends
I seem that in Qt 5.5 (dont know what is with 5.6) for Windows the Camera in not really supported. :-(((
Any ideas how to integrate camera functionality in a Qt-App ?
Setting the size policy to fixed solved the layout issue. However, with that fix, frames are updated very slowly (updating is clearly faster without setting the fixed size policy). Anybody know a fix?
Well, the first goal is not resolved, I still have to connect my extern functions with my QCamera object. I'll try to change the approach, throwing the QCamera object, and use QMediaService (tanks for the idea @kshegunov). If someone has an idea for me, dont hesitate.
@SGaist Ok I've put the environment variable you suggested in my Build Environment list. The application spat some output in which everything looks OK until this line:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
which looks like something that's querying the D-Bus for some services. I've checked every check box when I was installing Qt using the installer but It looks like it didn't install this or something else is needed but it's not documented.
Thanks for the reply.
I should be more specific, my bad.
Minimum Qt that I need to use is Qt 5.4.1. Os iOS - something around 6.
Situation QCamera class on embedded is badly broken
Android - it doesn't work at all in current Qt version - issue started around version Qt 5.0 - 5.1, maybe earlier and is not fixed including current version
iOS - QCamera do work - but when QCamera object is created access to the Camera (that's ok) and Microphone (that's not ok) is asked. When application is submitted to the AppStore it will be rejected if application don't use Microphone.
I'm now just wondering if someone stumbled upon this problem and found workaround because obviously proper fix is modifying qpa for QCamera.