[Qt-mobility-feedback] QValueSpaceSubscriber

Pasi.Havia at nokia.com Pasi.Havia at nokia.com
Wed Mar 17 13:50:59 CET 2010


Thanks Alex!

We´re already using Contacts from Qt Mobility elsewhere but using QTM_USE_NAMSPACE wasn't needed there. Just linking against qtcontacts was enough.

My issue is now solved, thank you.

BR, Pasi
 

> -----Original Message-----
> From: Blasche Alex (Nokia-D-Qt/Brisbane) 
> Sent: Wednesday, March 17, 2010 7:43 AM
> To: Havia Pasi (Nokia-D/Oulu); qt-mobility-feedback at trolltech.com
> Subject: RE: [Qt-mobility-feedback] QValueSpaceSubscriber
> 
> Hi Pasi,
> 
> Sorry for the delay it took me a while to get the SDK 
> environment setup for your code. 
> 
> The issue is that you need to use the QtMobility namespace. 
> All Mobility classes use it. Just add QTM_USE_NAMESPACE to 
> the file you have the compile error in. For more details check out:
> 
> http://doc.qt.nokia.com/qtmobility-1.0-beta/quickstart.html
> 
> --
> Alex
> 
> >-----Original Message-----
> >From: qt-mobility-feedback-bounces at trolltech.com 
> [mailto:qt-mobility- 
> >feedback-bounces at trolltech.com] On Behalf Of Havia Pasi 
> (Nokia-D/Oulu)
> >Sent: Monday, 15 March 2010 4:47 PM
> >To: qt-mobility-feedback at trolltech.com
> >Subject: Re: [Qt-mobility-feedback] QValueSpaceSubscriber
> >
> >I sent the code to Alex's personal email. Can't share it here, sorry.
> >
> >BR, Pasi
> >
> >> -----Original Message-----
> >> From: Blasche Alex (Nokia-D-Qt/Brisbane)
> >> Sent: Monday, March 15, 2010 1:52 AM
> >> To: Havia Pasi (Nokia-D/Oulu)
> >> Cc: qt-mobility-feedback at trolltech.com
> >> Subject: RE: [Qt-mobility-feedback] QValueSpaceSubscriber
> >>
> >> Would you be able to provide a small piece of code 
> demonstrating the 
> >> problem?
> >>
> >> --
> >> Alex
> >>
> >> >-----Original Message-----
> >> >From: qt-mobility-feedback-bounces at trolltech.com
> >> [mailto:qt-mobility-
> >> >feedback-bounces at trolltech.com] On Behalf Of Havia Pasi
> >> (Nokia-D/Oulu)
> >> >Sent: Thursday, 11 March 2010 5:09 PM
> >> >To: qt-mobility-feedback at trolltech.com
> >> >Subject: Re: [Qt-mobility-feedback] QValueSpaceSubscriber
> >> >
> >> >> > I'm trying to use QValueSpaceSubscriber on wk 08 S60 MCL
> >> release. I
> >> >> > can't  get my code compling eventough I've included 
> the header:
> >> >> >  ..\..\..\epoc32\include\mw\qvaluespace.h:66: warning:
> >> >> illegal empty
> >> >> > declaration 
> ..\..\..\epoc32\include\mw\qvaluespace.h:66: warning:
> >> >> > illegal  empty declaration xxx\xxx\xxx\xxx.cpp:84:
> >> illegal use of
> >> >> > incomplete  struct/union/class 'QValueSpaceSubscriber'
> >> >>
> >> >> QValueSpaceSubscriber is declared in 
> qvaluespacesubscriber.h, you 
> >> >> will need to include this header aswell.
> >> >
> >> >It's included already (the warnings from qvaluespace.h comes via 
> >> >qvaluespacesubscriber.h).
> >> >
> >> >BR, Pasi
> >> >_______________________________________________
> >> >Qt-mobility-feedback mailing list
> >> >Qt-mobility-feedback at trolltech.com
> >> >http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
> >>
> >_______________________________________________
> >Qt-mobility-feedback mailing list
> >Qt-mobility-feedback at trolltech.com
> >http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
> 



More information about the Qt-mobility-feedback mailing list