When I run my application through Qt Creator everything runs fine.
But if I run it through icon or start with command line, the camera never starts up properly.
So the last line of the above log does not appear when not hooked up to qtcreator.
camera State Change: QCamera::ActiveState
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
hijackWindow() context created for QmlApplicationViewer(0xaea90ab0) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x1fb009a8)
virtual GstElement* QGstreamerGLTextureRenderer::videoSink() : Fallback to QVideoSurfaceGstSink since EGLImageTextureHandle is not supported
camera status change: QCamera::StartingStatus
I'm setting my own QAbstractVideoSurface which start() method gets called after camera status changes, but again for me it only happens if running through qtcreator.
To me this looks some sort of race condition, but I'm at loss how to go around it. Does this ring a bell?