Hi, thanks for the tip, I’ll check different ways of initializing the main window next time.
IMHO the problem I’m facing is that width and height values are being calculated at a different point in time from what I expected; I guessed that the main QML component would have a size of 500×500 after C++ line 15, or maybe 16, in my sample code. But it turns out that it doesn’t work that way.
EDIT – Solved! check my first post.
↧