I have an array of floats that I'd like to be able to access from QtScript. My initial thought was to use QVector, as I can get a pointer to the data to treat it as an array (which is necessary for some 3rd party software I'm interfacing with), but the script bridge only seems to support QLists, not QVectors. Any suggestions how to make this scenario possible? I'd hate to have to draw a penalty for constantly recreating the array in C++ every time a script needs to change its contents.
Bookmarks