have your tried BuildRequires: pkgconfig(Qt5xxx) ?
Sure you know the list of allowed apis:
I don’t know if you can add any QT feature. But I know you can add your private lib to your rpm. Search in the SDK help for “Installing and using private shared libraries”.
The build is ok it is the runtime that is the problem. If i install the package with pkcon from a console and then it works fine. I also tried to include the libgstaudiodecoder.so file as a private and call QCoreApplication::addLibraryPath but still no luck
In general if you want to publish your app in the Jolla store you have to pass the RPM validator as described e.g. here in the harbour faq:
One point of the harbour rules is that your can’t install anything in /bin, /usr/lib etc. There are good reasons for this policy. But of course you can pack needed libs in your app as private. This private libs must be installed in /usr/share/harbour-. I have done this with libs for C++, this will work.
When you required a QML packages the rpm installed this package elsewhere but not in /usr/share/harbour-. So in the Jolla store this is not possible. Maybe you have 3 options here: ask Jolla (e.g. Vige) to allow the needed QML packages. Or use C++ (or Python maybe). Or publish your app in Openrepos.
You can ask me if I can help you with C++.
(And have you checked the list of allowed apis in the link of my first post for your wanted QT package?)
I think that is the proper way to do it in general for libs not allowed in Harbour.
Fot the particular thing in question here, a subpackage of QtMultimedia which itself is allowed in harbour it still might be an oversight in the Harbour rules.
Perhaps asking Jolla about it would be a good thing.
Community Meeting would be one thing, there used to be that “Developer Care” email address at one point I think, and then there’s the “Store QA” subforum.
I’ll move this topic into that subforum and try to summon @vige@vige@vige - can you shed light on any of this?