3DS Max 2015, PyQt and QThread freeze

Hey guys !

I’m coming for help about multi-threading with the 3DS Max python implementation.
I am making an Asset Manager for max and it displays a list of assets with a nice cover image. To avoid big loading times a switched the cover loading code in a QThread, which sends a QImage to the main QApplication thread.
My problem is that the code works perfectly outside of max, but in max it makes it freeze instantly. No error message, just a plain freeze.

So I was wondering if someone already tried to do a QThread in python with pyqt in Max 2015 ? Maybe it doesn’t support QThreads ?

There is really nothing specific about my QThread at all.

Thanks ! :slight_smile:

You answered your own question: “My problem is that the code works perfectly outside of max, but in max it makes it freeze instantly”

That’s pretty much it, I’ve also tried to do something with QThreads, no luck. I’m not sure on the official word on it but as far as I know, its not supported.

Sorry to be the bearer of bad news :frowning:

From the SDK: Help