Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

[QExtSerialEnumerato][QThread] memory overflow

$
0
0
Hi.. I’m a pretty simple problem to understand. I need to query in a loop if any new USB port connected. For this, I was using a loop: QList<QextPortInfo> ports = QextSerialEnumerator::getPorts(); However, the “QextSerialEnumerator :: getPorts ()”, when used in a thread consumes memory indefinitely. I do not understand why it does not make much sense to me. But as I am still inexperienced in QT and C + +, I thought it best to ask the veterans. =] I wonder if this has the same function be used without consuming memory forever. Thanks (Sorry for my english)

Viewing all articles
Browse latest Browse all 13965

Trending Articles