The connection is created in the constructor of the class, maybe that is relevant here.ġ60 bytes in 1 blocks are possibly lost in loss record 11,020 of 12,253 Rp_data_ is a reference of a QPointer containing an instance of the class with the signal, the slot is part of the class where the connection is made. The issue itself: connect(rp_data_, &DataDevice::SigControllerConnected, this, &StateConnectToController::SlotControllerConnected) If someone has got the time and muse, the code is in my repository which I've set to public: Qt_BTLE_Mooshi When I find some time later the week and no solution was found, I will try to make a small program replicating the error which i can post here. I know that it is probably to impossible solve the issue with the low amount of data that I am providing here, however I hope that it's a newbie-problem and maybe someone knows the answer right away. However, that would make this post multiple pages long, so I've removed it and just copied the valgrind message. My original post was way longer containing code snippets showing what class inherits from what and how my program is structured. There are possible leaks reported when i setup some connections. Valgrind reports like 500 issues, however only 3 are shown in the output-window when the filter "External Errors" is disabled.Īm I right to assume that those external errors (if they are real errors and not false-positives) are caused by external libraries which are included and used by Qt itself, so that I better just ignore them? I am trying to check my code for possible memory leaks using valgrind in Qt-Creator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |