[Interest] Weird assert, how to debug?

Scott Bloom scott at towel42.com
Fri Mar 3 01:37:41 CET 2023


Im getting an assertion in qwidget.cpp
"d->focus_prev->d_func()->focus_next == this" in Qwidget.cpp line 1443 (Qt 5.15.10)

I realize the response is going to be, create a minimal example, I created a repo on github with it, it's a simple cmake based project. Any help figuring this out would be appreciated.

The application has a QApplication and a QDialog derived dialog.  The dialog has a tabwidget and a dialogbutton box.

The assertion gets thrown when the dialog is destroyed.

https://github.com/towel42-com/TestFocusAssert

This happens on Windows, I don't have a linux box setup right now to test on linux.

Thanks
Scott




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230303/33867551/attachment.htm>


More information about the Interest mailing list