void myplayer::btnClicked()
{
qDebug("btnClicked()");
//QString program = "tar";
QString program = "mplayer";
QStringList arguments;
//arguments << "czvf" << "backup.tar.gz" << "./*";
arguments << "./0.mp3";
QProcess *myProcess = new QProcess(this);
}
qt 用 QProcess 類啓動 mplayer
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Centos 解壓 zip 包
step1: 安裝命令 yum install lrzsz step2: 執行解壓 unzip wrk-master.zip 完成!
SunnyJim
2020-06-20 04:46:27
Netflix conductor 安裝
SunnyJim
2020-06-20 03:26:40
安裝 openresty 錯誤:"Could not resolve host: openresty.org; Unknown error"
SunnyJim
2020-06-20 03:26:40
Centos iptables基礎使用
SunnyJim
2020-06-20 03:26:40
Centos 安裝 locate 命令
SunnyJim
2020-06-20 03:26:40
安裝 epel-release 錯誤:SyntaxError: invalid syntax
SunnyJim
2020-02-24 08:32:04
CentOS 美化記錄
萧萧影寒
2020-02-22 05:05:32
centos 下 qt phonon 配置(百度空間是我的隨筆)
萧萧影寒
2018-09-03 05:47:52
CentOS 6.X 安裝配置記錄
萧萧影寒
2018-09-03 05:47:52
服務器架設:CentOS搭建LAMP詳細教程
萧萧影寒
2018-09-03 05:47:51
centos 6.4 啓動後突然關閉
萧萧影寒
2018-09-03 05:47:51
ccsm ubuntu 特效軟件使用記錄
萧萧影寒
2018-09-03 05:47:51
服務器 centos 禁止普通用戶重啓關機
萧萧影寒
2018-09-03 05:47:50
字符界面啓動linux
萧萧影寒
2018-09-03 05:47:50
linux 解決不能調節屏幕亮度問題
萧萧影寒
2018-09-03 05:47:50