Loading video using QMediaPlayer and UNC paths
问题 I'm trying to load a video from a network using UNC paths thanks to Qt 5.5 QMediaPlayer. The code snippet is the following one: projectDirectory = QFileDialog::getExistingDirectory (this, tr ("Choose project folder (sensor + video data"), QDir::homePath(), QFileDialog::ShowDirsOnly); QDir dir(projectDirectory); QStringList test = dir.entryList(); qDebug () << projectDirectory << "contains:" << endl << test; mediaPlayer.setMedia(QUrl::fromLocalFile(projectDirectory+"/video.mov")); The code