Don't use QThread but still get QThread::start: Failed to create thread (The access code is invalid.)
I have developed an application that has to get data from a webservice and populate a database, hence I am extensively using Qt Network api. However after sometime I get QThread::start: Failed to create thread (The access code is invalid.). I get this error even though I am not using any QThread. Please help.
I have class c1 that has list of class c2 that has list of class c3 that has list of class c4
Average mapping is as follows
1 c1: 2 c2
1 c2: 20 c3
To get data for any class, on an average, I have to make 2 calls to the webservice. Each class has its own QNetworkManager and each webservice call has its own QNetworkReply.
However nowhere I am using QThread
Also I have made the call sequential in the sense that I don't call next c4 till I finish the current c4, and so on for c3, c2, c1,