I am new to qt and trying to create a qt application. As of now , the application has 1 thread which runs libevent event loop . I wanted to create another thread (which would be a permanent networking qt thread in charge of ssl requests).
I have created WorkerObject that subclasses QOBject. In addition i have a MyThread that subclasses QThread which runs event loop inside the run method. I create this thread inside main and kill it when application ends.
All of network operations i wanted to inside WorkerObject (including post request). How and where do i create appropriately WorkerObject so all of its signals and signals are processed inside event loop of MyThread. Because for instance I need to call method (which sends the post/get request) whenever user wants me to sends it.
Thanks in advance for answers.