mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-07-30 07:44:13 +02:00
62dc1e7c11
The Qt6 branch of the #if QT_VERSION guard swapped QRegExp for QRegularExpression but kept calling QRegExp-only methods (exactMatch()/cap()), which QRegularExpression doesn't have. Use the correct QRegularExpression API instead: match() returns a QRegularExpressionMatch, tested with hasMatch() and read with captured(n).