[Qt-interest] Writing slave commands to process

arun kumar arunkumaraymuo at gmail.com
Thu Mar 19 04:58:31 CET 2009


Hai,

How to write slave commands to mplayer using Qt,I started my mplayer using
QProcess::start() method,
but when i call Qprocess::write() method It seams to be not working
propperly

The code i tried is


  QString str2="loadfile /home/quarkmeson/Videos/sample.mpg";

QByteArray arr2= str2.toLocal8Bit();

process->open(QIODevice::WriteOnly);
pocess->write(arr2);






 anybody who tried this please help me..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090319/5f40f463/attachment.html 


More information about the Qt-interest-old mailing list