Anyone who uses opencv and has encountered the same problem, the solution is to change the path by remove function : void Frame::openImage(QString url)
url.re