[installer][target]Replace QRegExp check with toInt build-in ok val