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