AW: MarbleWidget viewContext property

tackat at t-online.de tackat at t-online.de
Wed Jul 11 14:53:40 BST 2018


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? 

Best Regards,
Torsten





-----Original-Nachricht-----
Betreff: MarbleWidget viewContext property
Datum: 2018-07-04T11:24:10+0200
Von: "Martin Koller" <kollix at aon.at>
An: "marble-devel at kde.org" <marble-devel at 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





More information about the Marble-devel mailing list