![]() ![]() without a button / or any other signal handlers? Now about QT GUI refresh with the data for QML from the indefiniteloop, what I need to do?. Please explain if this canread() function comes as false, then no read can be performed. The QSerial port of the customer returns canRead() function to be false all the time. Then without a signal and slot or without any check, How it will send message to the QT GUI?. Now you tell me, after the app.exec, control goes in that GUI and never returns back to the program. So that we press that and it continously refresh.Īs I kept working on that, I had not yet deleted the memory allocated for the buffers. QT is taking the last data read and display in QML.įor refreshing QML atleast He should tell, there should be an additional button object. What the customer gave as requirement is, read from serial port and display. ![]() Or it needs to do the serial port reading from QML. But that is this customer kept asking for this data to be refreshed on the GUI UML continously.įor that, it needs to have additional triggers, like atleast a button, so that it will do the signal and read. Printf( " %s, %d\n", data, strlen(data)) It is a loop, and it is continously reading. Is it not continuously looping and reading the data. I am the contractor who written this code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |