In context, its a standard C array (not a vector) with a variable in the initialisation. Something strictly forbidden by some forms of C, but for some reason, worked fine in the QT IDE.

Thats something I should be able to sort out myself though. Thanks for pointing me in the right direction though, it serves me right for not looking at all the compile errors.