Qt4 build failure
I'm trying to build the current development ViTE (f96665f2) on centos7. I can't use Qt5 as centos/fedora is missing QtUiTools, and the Qt4 build fails with
/builddir/build/BUILD/vite-f96665f224ddb90657bc1f85da87e6ed14e2e3eb/src/common/Session.cpp: In static member function 'static Palette* Session::get_palette(const string&, const string&)':
/builddir/build/BUILD/vite-f96665f224ddb90657bc1f85da87e6ed14e2e3eb/src/common/Session.cpp:310:63: error: 'class QMap<QString, QVariant>' has no member named 'cbegin'; did you mean 'begin'?
for(QMap<QString, QVariant>::const_iterator it = qmap.cbegin() ;
^~~~~~
/builddir/build/BUILD/vite-f96665f224ddb90657bc1f85da87e6ed14e2e3eb/src/common/Session.cpp:311:24: error: 'class QMap<QString, QVariant>' has no member named 'cend'; did you mean 'end'?
it != qmap.cend() ; ++ it) {
^~~~
make[2]: *** [src/CMakeFiles/vite.dir/common/Session.cpp.o] Error 1
I'm afraid I'm not sufficiently confident to try to fix it in a reasonable time, but it seems to have been broken by the OTF2 merge (which I want!).