QList of float[20] throws error (typedef)
- 
I have a couple of float arrays float[20]that I am trying to contain in a QList.
 It works with the std::vector but does not compile when I try to contain them in a QList.
 My code is so:#include <vector> #include <QList> typedef float floatArray20[20]; class floatData { floatData(); private: floatArray20 myarray1; floatArray20 myarray2; floatArray20 myarray3; QList<floatArray20> mylist; // std::vector<floatArray20> myVector; };If I make it so, I get the error: In template: function cannot return array type 'QList<float[20]>::value_type' (aka 'float[20]') qlist.h:528:5: error occurred here in instantiation of template class 'QList<float[20]>' requested hereBut it works perfectly fine with std::vector. What could be the mistake that I am doing? 
 Thanks.
- 
I have a couple of float arrays float[20]that I am trying to contain in a QList.
 It works with the std::vector but does not compile when I try to contain them in a QList.
 My code is so:#include <vector> #include <QList> typedef float floatArray20[20]; class floatData { floatData(); private: floatArray20 myarray1; floatArray20 myarray2; floatArray20 myarray3; QList<floatArray20> mylist; // std::vector<floatArray20> myVector; };If I make it so, I get the error: In template: function cannot return array type 'QList<float[20]>::value_type' (aka 'float[20]') qlist.h:528:5: error occurred here in instantiation of template class 'QList<float[20]>' requested hereBut it works perfectly fine with std::vector. What could be the mistake that I am doing? 
 Thanks.
 
