[SailfishDevel] qmlRegisterSingletonType not allowed in Harbour?

Alexander Ladygin fake.ae at gmail.com
Thu Oct 8 02:16:16 UTC 2015


Hey everyone!

I've got an app turned down by harbour QA
Validator says
ERROR [/usr/share/harbour-vk-music/qml/pages/SongItem.qml] Import
'ru.virgi.audioplayerinfo 1.0' is not allowed

is qmlRegisterSingletonType  not allowed or something???
i'm registering it with
qmlRegisterSingletonType<AudioPlayerInfo>("ru.virgi.audioplayerinfo", 1, 0,
"AudioPlayerInfo", audioplayerinfo_provider);

And it's simple QObject with some properties and signals

Regards,
Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20151008/d30507fa/attachment.html>


More information about the Devel mailing list