[Interest] Problems getting Qml camera to work under iOS
Jason H
jhihn at gmx.com
Mon Feb 11 14:46:27 CET 2019
No problems using the cameras in iOS for some time now including 5.12. you probably also need to do a usage description for the microphone? I thought this has been separated out to another permission request but if you're attempting to record video maybe that's the issue?
> Sent: Sunday, February 10, 2019 at 1:23 PM
> From: "Roman Wüger" <roman.wueger at gmx.at>
> To: "'Qt Project MailingList'" <interest at qt-project.org>
> Subject: [Interest] Problems getting Qml camera to work under iOS
>
> Hello,
>
>
>
> I use CMake with Qt >= 5.11.1 and have troubles to get my camera working
> under iOS 12.1.
>
> I set the required key/value (NSCameraUsageDescription) in the Info.plist
> file and link against the required libraries:
>
>
>
> target_link_libraries(${PROJECT_NAME} Qt5::AVFServicePlugin) # imported
> library for libqavfcamera.a
>
>
>
> But when I switch to the page which includes the Qml Camera and VideoOut, I
> get the following error:
>
> defaultServiceProvider::requestService(): no service found for
> org.qt-project.qt.camera
>
>
>
> I also read the other solved problems, but cant figure out what the problem
> is, since I link against the required library and set the key in the
> Info.plist file.
>
>
>
> Do I miss something else?
>
>
>
> Thanks in advance
>
>
>
> Kind regards
>
> Roman
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
More information about the Interest
mailing list