Re: [SailfishDevel] Debug error

2015-06-15 Thread Rudi Timmermans

Hi Lucien,


Yes it was after some debug i have found the solution ;)

Thanks!

---
Best regards!

Rudi Timmermans.

Op 15/06/15 om 18:42 schreef Lucien Xu:

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


*De: *"Rudi Timmermans" 
*À: *devel@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
  


propertyItemfirstPage

propertyaliascoverAction: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-unsubscr...@lists.sailfishos.org




___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Debug error

2015-06-15 Thread Lucien Xu
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" 
> À: devel@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-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Debug error

2015-06-15 Thread Rudi Timmermans

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
 


propertyItemfirstPage

propertyaliascoverAction: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-unsubscr...@lists.sailfishos.org