我正在创建一个在Windows 10上使用QT5.7的音频播放器。
shell\comdlg32\fileopensave.cpp(14274)\comdlg32.dll!75622833: (caller: 7565211C) ReturnHr(1) tid(dec) 80004005 Not specified error.
CallContext:[\PickerModalLoop]
shell\osshell\lmui\ntshrui\dll\shrengine.cpp(1473)\ntshrui.dll!665E3BE2: (caller: 665DF284) ReturnHr(1) tid(1a14) 80004005 Not specified error.这是函数
void AudioPlayer::loadClicked()
{
QString filename = QFileDialog::getOpenFileName(this, tr("Select an audio file"), "" ,tr("File Mp3 (*.mp3)"));
int volume = ui->horizontalSliderVolume->value();
if(!filename.isEmpty())
{
player.setMedia(QUrl::fromLocalFile(filename));
player.setVolume(volume);
}
}为什么?我该怎么解决?
发布于 2017-02-25 09:13:16
它与这个Qt错误票有关。它实际上只是由Windows生成的警告,但是您的应用程序应该是好的。消息本身显然无法删除。
https://stackoverflow.com/questions/42453838
复制相似问题