forked from qt-creator/qt-creator
In Qt 6 there is no RegExpValidator anymore. To support both Qt 5 and Qt 6 we register our own RegExpValidator in HelperWidgets if we compile with Qt 6. Change-Id: I7e66cbf3e29dd034a1c96a22e233058cb7a892e3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>