missionmule / mission-mule-gcs

Ground control station supporting Data Mule missions
Other
0 stars 0 forks source link

Register QList<DataStation> with qml #18

Closed Annerion closed 6 years ago

Annerion commented 6 years ago

QMetaProperty::read: Unable to handle unregistered datatype 'QList<DataStation*>' for property 'DataStationManager::dataStations'

Is the error I am getting when attempting to work on the Qml page. I will register it in my code for the time being, but it would be better if @Moni286 to make this change for API consistency.

Annerion commented 6 years ago

From my early attempts, it may be necessary to make a custom list, as Qlist doesn't seem to be a QObject

mounir-khaled commented 6 years ago

I am looking at your branch now. I'll see if I can fix it. If not, we could discuss other ways to go about this.

Annerion commented 6 years ago

We found a different approach, which has been implemented.