1
發揮使用QSound的.wav文件我想在我的項目中使用QSound的,但我得到一個未定義的refrence到_imp_ZN6Q:如何QT5
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QtMultimedia/QSound>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent)
{
ui->setupUi(this);
QSound player;
QSound::play("E:\songs");
}
MainWindow::~MainWindow()
{
delete ui;
}
你得到了什麼**精確**錯誤信息?將**全部添加到您的帖子中。 – peppe