Re: [Interest] QML: Property 'update' of object QPaintedTextureImage is not a function

2019-02-01 Thread Federico Ferri
I’m sorry for the duplicate post. I did a further test: creating a QTimer in the QPaintedTextureImage’s subclass ctor, so I don’t have the "TypeError: Property 'update' of object QPaintedTextureImage is not a function” error. However, now the program crashes in QPainter::drawImage, with this messa

[Interest] QML: Property 'update' of object QPaintedTextureImage is not a function

2019-02-01 Thread Federico Ferri
Hi, I’m trying to display a stream of images from a capture device in Qt3D (via a texture). So I subclassed QPaintedTextureImage overriding paint(). According to documentation of QPaintedTextureImage, each time update() is called, the paint() function is invoked and the resulting image is upload

[Interest] QML: Property 'update' of object QPaintedTextureImage is not a function

2019-02-01 Thread Federico Ferri
Hi, I’m trying to display a stream of images from a capture device in Qt3D (via a texture). So I subclassed QPaintedTextureImage overriding paint(). According to documentation of QPaintedTextureImage, each time update() is called, the paint() function is invoked and the resulting image is upload