-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
1.1.0
-
None
-
Windows XP SP 3, Nokia Qt Creator, Qt SDK 1.1 TP, Symbian^3 phone
Hello,
I've built one of the Nokia's Qt Mobility Examples for the camera and found out that when you run it on a Symbian^3 phone the following call causes a "Segmentation fault" error:
QCamera::setViewfinder (QCameraViewfinder)
I discovered a partial workaround for that, which was to instantiate another dummy QCameraViewfinder object before initializing the UI and before calling setViewfinder(). Then I did not get any seg fault, but unfortunately no viewfinder video stream was visible, either (capture worked though).
Total workaround was to pass QGraphicsVideoItem instead of QCameraViewfinder as the parameter to setViewfinder(). That displays a viewfinder video stream and doesn't generate any seg faults.
- relates to
-
QTMOBILITY-1190 SIGSEGV while setting viewfinder to QCamera object - Qt SDK 1.1 TP
-
- Closed
-