Answer the question
In order to leave comments, you need to log in
QT C++ QnetworkAccessManager doesn't want to run on a thread?
I declare QNetworkAccessManager in an explicit thread, connect the slot, make a request, launch it and I get this message, the slot is not running.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x13d37d0), parent's thread is QThread(0x130c150), current thread is Download(0x1362900)
Tried declaring QNetworkAccessManager without arguments - didn't help. How to fix?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question