-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QPainter(QPaintDevice) not working #23
Comments
Qt does not accept paining on widgets outside of I thought there is a unit test checking these cases. And I also thought my own program does these things as well. I'll check it. |
This happens within |
So, using |
Actually, there is a test scenario in unit tests:
Now as I see the tests, I can tell you |
Did you call |
I checked again: approach one (begin) works, approach two (constructor) fails within the same context.The context is overriden |
Ok, I'll add |
This issue is solved with QtJambi 6.2.2. |
According to Qt 6 documentation
and
should be the same. Translated to QtJambi this means:
and
should be the same. But the second approach with
QPainter(QPaintDevice)
is not working. Line 3286 inQPainter.java
throws an exception. The
painters
are alsonull
in the first approach, but because I am not in a constructor it works fine.My workaround for now is to use the first approach.
The text was updated successfully, but these errors were encountered: