I`m trying to use a QVector with a custom object named RoutineItem.
But this error is given:
C:\Qt\5.2.1\mingw48_32\include\QtCore\qvector.h:265: error: no matching function for call to 'RoutineItem::RoutineItem()'
This is the RoutineItem constructor:
RoutineItem(QString Name,int Position,int Time,bool hasCountdown = false,bool fastNext = false);
If I remove all the constructor arguments I no longer get that error. How can I use QVector with a custom object that has arguments?