[Interest] Problems with QCamera/QML Camera when trying to porting a desktop application to android tablet

Roman Wüger roman.wueger at gmx.at
Thu Aug 9 13:05:01 CEST 2018


Ok it seems to work with Qt 5.11.1 but the preview video is shown in the top left corner instead of the complete widget. 

Any hints?

Thanks in advance

> Am 31.07.2018 um 17:18 schrieb Roman Wüger > <roman.wueger at gmx.at>:
> 
> Hello guys,
>  
> I try to port a desktop application to an android tablet. At the moment everthing seems to work smoothly except the camera stuff.
> Previously QCamera with QCamerViewfinder was used but does not work on android, because I read that Qt Multimedia isn’t available on android and so I rewrote the entire camera stuff with QML.
>  
> A smaller application with only one dialog for demonstration works well. But since the desktop application is multi hierarchical with dialogs,
> I whether does not see a video or in the second case the dialog in which the camera stuff is implemented is not shown.
> This depends on whether I use QQuickView in combination with QWidget::createWindowContainer or QQuickWidget.
>  
> I saw the following entries, but the solutions are not working for me:
> https://bugreports.qt.io/browse/QTBUG-49328
> https://bugreports.qt.io/browse/QTBUG-41467
> https://bugreports.qt.io/browse/QTBUG-39454
>  
> I tried Qt 5.9.5 to Qt 5.11.1 on an Samsung Galaxy Tab A (2016) with Android 7.0
>  
> I hope someone can help me with the problem.
>  
> Thanks in advance
>  
> Best Regards
> Roman
>  
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180809/f502861a/attachment.html>


More information about the Interest mailing list