Unsolved ASSERT: "mask.width() <= c.w && mask.height() <= c.h" in file painting\qtextureglyphcache.cpp, line 321
-
Compiled my application against Qt 5.10.1 for the first time and am hitting this assert right after main window is displayed (before it's painted). Then the program quits. used to work fine with Qt 5.9.3. Is this a known problem? Any solutions?
Just tested in 5.9.5, same thing. Puzzled.
-
Please provide a small, compilable example. The assert was added with 7df4dcff2cafcd9b57eb7a4812be871d956f0ec8 which is a fix for https://bugreports.qt.io/browse/QTBUG-64239
But since it was added in 5.9.3 I wonder if this is the real cause - therefore a compilable example is needed... -
I have a perfectly compilable example, just not very small: https://github.com/VioletGiraffe/file-commander
A naive attempt to repro this in a new project failed.Confirmed working with 5.9.3, failing with 5.9.5 and 5.10.1. Compiling with msvc2015_64 on Windows 10.
-
Could someone who's working with the Qt code base look into this? I don't necessarily think it's a bug it Qt so I'm hesitant of filing a bugreport against Qt (and also because I don't have an MCVE), but I also don't think I did anything wrong in my code.
-
@Violet-Giraffe If you want to contact Qt developers then you're doing it in the wrong place - this is user forum.
Ask Qt developers on the mailing list: http://lists.qt-project.org/mailman/listinfo