楼主,您好 !
请使用下面的代码
static bool flag =1;
static QProcess* keyboard =new QProcess(this);
if (flag ==1){
flag= 0;
keyboard->start("/usr/bin/matchbox-keyboard");
} else {
flag= 1;
keyboard->kill();
}
楼主,您好 !
请使用下面的代码
static bool flag =1;
static QProcess* keyboard =new QProcess(this);
if (flag ==1){
flag= 0;
keyboard->start("/usr/bin/matchbox-keyboard");
} else {
flag= 1;
keyboard->kill();
}
举报