-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QObject: Cannot create children for a parent that is in a different thread. #25
Comments
@iamazeem i'm using both Release and Debug builds are normally functional. |
@azadkuh : Thank you for your response. Well, here's the complete scenario: Specs
I've built QHttp separately, put the
And, the server doesn't accept any requests (something to do with signals). Another thing that I've noticed is that when I test the server (when it is running under Release), the HTTP request when partial kind-of blocks the server. The server doesn't respond. Is there any timeout for reading requests? I looked at the code and I didn't see any You might wanna suggest how to use QHttp as a library - the preferred way. Thanks a lot! ~ AZEEM ~ |
@iamazeem the |
@azadkuh Well, here's the minimal code example that works in Here's the
Here is the
Here's the output of compilation for
Here's the compiler output for
Blocking was not for the whole server actually. It's for the request that is not well-formed. Regarding moving to thread, in fact, I'm not doing anything special about threading here. I was using BTW, thanks a lot for writing this in the first place! ~ AZEEM ~ |
@azadkuh |
Don't know if is related to this kind of error but i had the same problem in debug mode. |
I've got this error for all the examples. Even for my own code for starting a simple server issued this warning. Couldn't find any issue here.
Release mode is fine but debug mode wouldn't let you run it.
Debugger shows a chain of exceptions generated here.
Assembly by the debugger:
I may be wrong but it's a serious bug. I'd appreciate if you could elaborate on this.
Thanks!
The text was updated successfully, but these errors were encountered: