How do I create a Window in different QT threads?

后端 未结 4 1318
孤城傲影
孤城傲影 2020-11-28 13:00

I have an application in which each thread (except the main thread) needs to create its own window. I tried creating a thread and then calling this->exec() i

4条回答
  •  再見小時候
    2020-11-28 13:12

    I don't believe this is possible. Other non-GUI components can run in other threads and will usually communicate via the signal/slot mechanisms.

提交回复
热议问题