[SailfishDevel] Debug error

Lucien Xu sfietkonstantin at free.fr
Mon Jun 15 16:42:26 UTC 2015


Hi Rudi: 

I guess that your FirstPage has noot been installed in your SDK. 
Is it listed in the .pro file ? 

Also, "Component . onCompleted : mainWindow . firstPage = firstPage" is buggy: you do not need to set your first page to itself. 

Regards, 
Lucien 
----- Mail original -----

> De: "Rudi Timmermans" <rudi.timmer at gmx.us>
> À: devel at lists.sailfishos.org
> Envoyé: Lundi 15 Juin 2015 17:42:11
> Objet: [SailfishDevel] Debug error

> Hi,

> Any idea what this mean when i try to debug a new app?

> [W] unknown:14 -
> file:///opt/sdk/budgetmanager/usr/share/budgetmanager/qml/budgetmanager.qml:14:9
> : Type FirstPage unavailable
> FirstPage {
> This is the code into my budgetmanager.qml

> ApplicationWindow { id : mainWindow property Item firstPage property
> alias coverAction : coverAction initialPage : Component { FirstPage
> { id : firstPage Component.onCompleted : mainWindow .firstPage =
> firstPage } }
> Thanks!

> --
> ---
> Best regards!

> Rudi Timmermans.
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150615/862a1514/attachment.html>


More information about the Devel mailing list