Using Apple RoomPlan Framework within Qt
-
Dear All!
For an existing Qt Project (App for various platforms, iOS included) I would need 3D Room scanning capabilities. So I think of using Apple‘s RoomPlan Framework.
But I could find absolutely nothing about a Qt Class / wrapper implementation or the like on the net.
Is it too new? Or am I the only one interested 8n this?? Or any other reason?
I would be happy for any comment / idea.
Thanks a lot,
Klaus! -
Hi,
More simple: Qt does not wrap each and every framework of the OS' it supports. That would not be manageable and some of them would not make sense either as they would be pretty niche and only available on a single plateforme.
That does not forbid to create Qt wrappers for them to provide a nicer interface though. It your case, you are likely the one who would have to implement it.
-
You are mentioning "various platforms". If it is not just macOS and iOS/ipadOS it is not portable to choose any Apple Framework. And since Qt is mostly about portability (at least on desktop and mobile) it will only/mostly have features that are common on all these platforms. I guess that most people that intend to use Apple's RoomPlan Framework are using Apple frameworks exclusively (including UI).
The easiest way to interface with Apple frameworks used to be Objective-C++. I am not sure how much that has changed with the introduction of Swift. I believe they share the same underlying runtime and so you can still use Objective-C++.