That would be fine with me :-)
Best Regards, Torsten -----Original-Nachricht----- Betreff: Re: AW: MarbleWidget viewContext property Datum: 2018-07-11T18:35:46+0200 Von: "Martin Koller" <kol...@aon.at> An: "tac...@t-online.de" <tac...@t-online.de> On Mittwoch, 11. Juli 2018 15:53:40 CEST tac...@t-online.de wrote: > > Hi Martin, > > ... and indeed the implementation of MarbleWidget::setViewContext() doesn't > emit a signal. > I guess it's not being used as a property inside Marble itself. > Do you have any suggestion for a fix? What about removing the Q_PROPERTY macro then ? > > Best Regards, > Torsten > > > > > > -----Original-Nachricht----- > Betreff: MarbleWidget viewContext property > Datum: 2018-07-04T11:24:10+0200 > Von: "Martin Koller" <kol...@aon.at> > An: "marble-devel@kde.org" <marble-devel@kde.org> > > In MarbleWidget there is > Q_PROPERTY(ViewContext viewContext READ viewContext WRITE setViewContext > NOTIFY viewContextChanged) > > however, ViewContext is not registered with the Qt meta-object system as it > is not in a QObject of QGadget. > > So I get the following warnings in runtime: > QMetaProperty::read: Unable to handle unregistered datatype 'ViewContext' for > property 'Marble::MarbleWidget::viewContext' > > What shall be done here ? > > -- Best regards/Schöne Grüße Martin A: Because it breaks the logical sequence of discussion Q: Why is top posting bad? () ascii ribbon campaign - against html e-mail /\ - against proprietary attachments Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at