[SailfishDevel] qmlRegisterSingletonType not allowed in Harbour?

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Thu Oct 8 03:13:27 UTC 2015


https://harbour.jolla.com/faq#1.5.0

Own imports must be harbour-app-named.

-kimmo

________________________________
Lähettäjä: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] käyttäjän Alexander Ladygin [fake.ae at gmail.com] puolesta
Lähetetty: 8. lokakuuta 2015 05:16
Vastaanottaja: Sailfish OS Developers
Aihe: [SailfishDevel] qmlRegisterSingletonType not allowed in Harbour?

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/1141200d/attachment.html>


More information about the Devel mailing list