In file included from C:\Qt59\5.9.2\mingw53_32\include\QtCore/qdebug.h:51:0,
from C:\Qt59\5.9.2\mingw53_32\include\QtCore/QDebug:1,
from ..\TestGeoCppQml\main.cpp:7:
C:\Qt59\5.9.2\mingw53_32\include/QtCore/qvector.h: In instantiation of 'void QVector<T>::defaultConstruct(T*, T*) [with T = NavaidsPoint]':
C:\Qt59\5.9.2\mingw53_32\include/QtCore/qvector.h:579:41: required from 'void QVector<T>::reallocData(int, int, QArrayData::AllocationOptions) [with T = NavaidsPoint; QArrayData::AllocationOptions = QFlags<QArrayData::AllocationOption>]'
C:\Qt59\5.9.2\mingw53_32\include/QtCore/qvector.h:676:20: required from 'void QVector<T>::append(T&&) [with T = NavaidsPoint]'
C:\Qt59\5.9.2\mingw53_32\include/QtCore/qvector.h:260:35: required from 'void QVector<T>::push_back(T&&) [with T = NavaidsPoint]'
..\TestGeoCppQml\main.cpp:38:71: required from here
C:\Qt59\5.9.2\mingw53_32\include/QtCore/qvector.h:321:13: error: no matching function for call to 'NavaidsPoint::NavaidsPoint()'
new (from++) T();
^
In file included from ..\TestGeoCppQml\main.cpp:12:0:
..\TestGeoCppQml\navaidspoint.h:16:5: note: candidate: NavaidsPoint::NavaidsPoint(const NavaidsPoint&)
NavaidsPoint(NavaidsPoint const& autre); //Constructeur de copie
^
..\TestGeoCppQml\navaidspoint.h:16:5: note: candidate expects 1 argument, 0 provided
..\TestGeoCppQml\navaidspoint.h:15:5: note: candidate: NavaidsPoint::NavaidsPoint(QString, double, double, QString)
NavaidsPoint(QString code, double latitude, double longitude, QString country = "");
^
..\TestGeoCppQml\navaidspoint.h:15:5: note: candidate expects 4 arguments, 0 provided
Partager