You can use random function from stdlib and fix time to maximize pseudo random operation in a short period of short time. const int MainWindow::getNumber() const { qsrand( (unsigned)time(NULL) ^random());
You can use random function from stdlib and fix time to maximize pseudo random operation in a short period of short time. const int MainWindow::getNumber() const { qsrand( (unsigned)time(NULL) ^random());