[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

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 rudi.tim...@gmx.us
*À: *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 rudi.tim...@gmx.us
 À: 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

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-15 Thread Thomas Tanghus
On Friday 12 June 2015 12:47:42 coderusin...@gmail.com wrote:
 check mce dbus. There is should be a method bot unblanking screen.

Been away since Friday, but req_display_state_on looks like the one. Hard to 
find any real documentation on mce other than searching github etc.

 I've never tried programming anything using dbus.

I've read a bit up on it now :)

-- 
Med venlig hilsen / Best regards

Thomas Tanghus

signature.asc
Description: This is a digitally signed message part.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org