Closed schragge closed 3 years ago
It's not better bacause TEA needs 0x050500 to check availability of QRegularExpression search at QTextDocument, so the global "sed" is a good solution for the CentOS only.
Nope. TEA checks for QRegularExpression
presence with
#if QT_VERSION >= 0x050000
That check isn't affected by the proposed change.
The last commits in master fix this. Thank you.
According to Qt docs,
Qt::MatchRegularExpression
was added in Qt 5.15, not Qt 5.5.#if QT_VERSION < 0x050500
here and everywhere else in the filetea.cpp
should be changed to#if QT_VERSION < 0x050F00
or, even better, toOtherwise, TEA 60 fails to build from source on CentOS 8 which includes Qt 5.12. For now, I just
sed -i '/QT_VERSION/s/0x050500/0x050F00/' tea.cpp