Superbuild fails with Qt 5.6
Testing with 5.6-RC1, building locally and on a LANL toss3 machine
Building locally with Qt 5.9 works fine.
Building locally and remotely with Qt 5.6 fails:
/Users/stam/GitParaVTK/super-recent-master/superbuild/paraview/src/Qt/Widgets/pqDoubleLineEdit.cxx:184:71: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
this->FullPrecisionText[this->FullPrecisionText.length() - 1] == "0")
^ ~~~
/Users/stam/GitParaVTK/super-recent-master/superbuild/paraview/src/Qt/Widgets/pqDoubleLineEdit.cxx:184:71: error: invalid operands to binary expression ('QCharRef' and 'const char *')
this->FullPrecisionText[this->FullPrecisionText.length() - 1] == "0")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
And a lot of errors like:
/Users/stam/anaconda/envs/testenv/include/qt/QtCore/qchar.h:567:30: note: candidate function not viable: no known conversion from 'const char [2]' to 'QChar' for 2nd argument
Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; }
I can provide the full build logs if needed. As far as I know Qt 5.6 is the newest version on LANL clusters. @patchett2002