On Mittwoch, 11. Juli 2018 15:53:40 CEST [email protected] 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" <[email protected]> > An: "[email protected]" <[email protected]> > > 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
