(Sorry for the slow reply.  F#@$ing Comcast decided yesterday that all my mailing list traffic was Spam.)

On 10/30/2019 5:17 AM, Giuseppe D'Angelo via Interest wrote:
On 30/10/2019 01:47, Bob Hood wrote:
When I enter the constructor, I have a specific ‘this’ pointer that has the provided ‘size’ argument placed into its ‘entity_size’ member. However, when Qt subsequently invokes the boundingRect() override function, it’s an entirely different ‘this’ instance whose ‘entity_size’ has clearly not been initialized.

I’ve looked at several select examples/widgets/graphicsview/ sources, and those show that this should be working as expected.

I’ve tested this with 5.11.1 and 5.12.3 with the same result, so I’m guessing this is some kind of pilot error on my part.


Did you already run this code into valgrind / ASAN?


Thanks for the reply, Giuseppe.

I'm on Windows using Qt Creator 4.6.2.

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to