$ 0 0 QRegExpValidor will still be destroyed at the end of the constructor. Please have a loot at it’s usage in the documentation