[Development] CI upgrade

2018-12-30 Thread Tony Sarajärvi
Good morning. Since our last verifications of 3 main branches show green light to make the upgrade of the CI, I'll go ahead and proceed right away. The switch over will only take seconds, and I'll start monitoring the system today to see that it actually works. What changes: * Our hosts r

[Development] Use QMetaEnum::keyCount() to initialise array

2018-12-30 Thread Tom Isaacson
Is it possible to use QMetaEnum::keyCount() to initialise an array? Something like: const QMetaEnum metaEnum = QMetaEnum::fromType(); int MyArray[metaEnum.keyCount()]; After asking this on the Qt-Interest forum I spent a bit of time investigating. Q_ENUM declares functions with Q_DECL_C