Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to use Peek in QSerialport?



  • i am not getting how to read serialdata using peek() function.

    if anyone know help me .


  • Qt Champions 2020

    Did you read an official documentation? Are you tried to use the peek() at all? Try to do something himself before asking of a stupid questions...



  • hello boss ,if know you can reply otherwise wasting of your time . I know before asking here, i read document from that i taken and apply but it not working, or it shows peek object is not declared .

    and lastly, any in this forum is not a stupid question? if anyone struggling not getting ,then only taking help with others. By reading document is different and applying the concept is differnet.


  • Moderators

    @bhargav said in How to use Peek in QSerialport?:

    i am not getting how to read serialdata using peek() function.
    if anyone know help me .

    sorry, but what exactly do you expect?
    Do you really expect a precise answer to such a generic question?

    Its impossible to give proper help just by saying "it doesn't work"...



  • @bhargav said in How to use Peek in QSerialport?:

    i read document

    Could it be possible to share it, so maybe somebody else may better understand what you are dealing with?

    i taken and apply but it not working, or it shows peek object is not declared

    Could it be possible you share the snippet of code and error condition you're getting?

    Helping others helping you is a good approach to posting in forums...


Log in to reply