A simple number guessing game in Qt