MarbleWidget viewContext property

Martin Koller kollix at aon.at
Wed Jul 4 10:23:47 BST 2018


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