The std::random_shuffle function on line 257 of modules\objdetect\test\test_qrcode_encode.cpp has been removed when I compiled the project with c++17.