<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Arial;color: #000000;font-size: 10pt;"><a href="https://harbour.jolla.com/faq#1.5.0" target="_blank">https://harbour.jolla.com/faq#1.5.0</a><br>
<br>
<div>Own imports must be harbour-app-named.<br>
<br>
-kimmo<br>
<div style="font-family:Tahoma; font-size:13px"><font style="font-family:Arial" size="1"><br>
</font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF859991"><font color="#000000" size="2" face="Tahoma"><b>Lähettäjä:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] käyttäjän Alexander Ladygin [fake.ae@gmail.com] puolesta<br>
<b>Lähetetty:</b> 8. lokakuuta 2015 05:16<br>
<b>Vastaanottaja:</b> Sailfish OS Developers<br>
<b>Aihe:</b> [SailfishDevel] qmlRegisterSingletonType not allowed in Harbour?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hey everyone!<br>
<br>
</div>
I've got an app turned down by harbour QA<br>
</div>
Validator says<br>
<span><span class="">ERROR [/usr/share/harbour-vk-music/qml/pages/SongItem.qml] Import 'ru.virgi.audioplayerinfo 1.0' is not allowed</span></span><br>
<br>
is qmlRegisterSingletonType  not allowed or something???<br>
</div>
i'm registering it with <br>
qmlRegisterSingletonType<AudioPlayerInfo>("ru.virgi.audioplayerinfo", 1, 0, "AudioPlayerInfo", audioplayerinfo_provider);<br>
<div><br>
</div>
<div>And it's simple QObject with some properties and signals<br>
<br>
</div>
<div>Regards,<br>
Alex.<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>