[Qt-interest] problem in QProcess
chandrasekar wagmare
sekarwagmare at gmail.com
Sat Dec 13 13:25:42 CET 2008
thanks for reply very much ...
but sorry i cant get it .... i am getting all the output together after i
scan my finger in bulk while running QProcess but in normal running of
fps.out program, two outputs comes first before scanning the finger and
after scanning finger two output displayed but here readyReadStandardOutput
gives after getting all output and printing it ... why ... please help
On Sat, Dec 13, 2008 at 5:47 PM, Jesús Fernández <jsfdez at gmail.com> wrote:
> I think that fps.c is sending 2 different messages to the output, like
> this:
>
> "device ready"<<flush<<"put the finger";
>
> And when a flush appears the SIGNAL QProcess::readyReadStandardOutput() is
> emitted.
>
> Regards
>
> On Sat, Dec 13, 2008 at 12:53 PM, chandrasekar wagmare <
> sekarwagmare at gmail.com> wrote:
>
>> hi friends/experts,
>>
>> i am running another program (ex: fps.c) inside my qt application by
>> QProcess() , that program is a device handler so i run that "fps.c "program
>> with my qt application .
>>
>> that device is a finger print scanner so first i get the
>> output from fps.c as "device ready and then put the finger"
>> after that i put my finger it fps.out shows again output as
>> "image scanned and saved as" .....
>> this is the usual running of "fps.c"
>>
>>
>> when i use this program run the output of fps.c through
>> QProcess in my Qt app and using signal readyReadStandardOutput() i get the
>> output and displaying that in a label by using readAllStandardOutput() ...
>> this is my plan
>>
>> but the label shows output as "device ready" "put the
>> finger" "image scanned and saved as" after i scanned my finger then only i
>> can get the output but its not coming as per order as "device ready and then
>> put the finger"
>> i will scan my finger then displaying "image scanned and saved as.."
>>
>> why its not coming like that how can i solve that ....
>> please help me ...
>>
>> --
>> CHANDRU
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
--
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081213/20ee8daf/attachment.html
More information about the Qt-interest-old
mailing list