[PyQt] QThreadPool Usage Error



  • Hii All,

    I have used QThreadPool() feature in my GUI to update table Using thread.While using
    QThreadPool() it throwing below error:
    Qt: QObject::setParent: Cannot set parent, new parent is in a different thread

    Please help me to solve this issue. Any Example is welcome.


  • Lifetime Qt Champion

    Hi,

    Is there any chance that you are trying to access GUI elements directly from your threads ? If so that's wrong.


Log in to reply