Hello
I am writing the Threaded server where I can connect multiple clients, my server has DB(SQLite) connection.
Working: 1. First time whatever Server has written to the socket, Client is reading.
2. Server is reading whatever the client has written
Not Working: 1 As soon as i connect client to the Server, Message at server:
"QObject: Cannot create children for a parent that is in a different thread.
(Parent is FortuneThread(0x23bb7a0), parent's thread is QThread(0x1b166a0), current thread is FortuneThread(0x23bb7a0)"
2 Second time onwards whatever the server is writing client is not able to read.
what is wrong with the server code.. i feel no problem with the client , as it worked as desired with the Server without thread please guide..
Thanks
Bookmarks