I tried status.append(qMakePair("test", 0)); and that looks better know but I still get an error:
.../Qt/5.2.1/clang_64/lib/QtCore.framework/Headers/qpair.h:57: Error: array initializer must be an initializer list or string literal
QPair(const T1
&t1,
const T2
&t2
) : first
(t1
), second
(t2
) {}
.../Qt/5.2.1/clang_64/lib/QtCore.framework/Headers/qpair.h:117: in instantiation of member function 'QPair<char [10], int>::QPair' requested here
return QPair<T1, T2>(x, y);
.../Qt/5.2.1/clang_64/lib/QtCore.framework/Headers/qpair.h:57: Error: array initializer must be an initializer list or string literal
QPair(const T1 &t1, const T2 &t2) : first(t1), second(t2) {}
.../Qt/5.2.1/clang_64/lib/QtCore.framework/Headers/qpair.h:117: in instantiation of member function 'QPair<char [10], int>::QPair' requested here
return QPair<T1, T2>(x, y);
To copy to clipboard, switch view to plain text mode
What is that supposed to mean?
Bookmarks