Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.2
-
None
-
Gentoo Linux 64bit
QtCreator 4.8.0-beta2
Qt 5.11.2
-
-
63f128103f666e72f5f547871da44e49a9cbafaf (qt/qttools/5.12.0)
Description
If I reopen a form containing a resource file (with some resource used on the form), the Qt Creator crashes.
Attached is a minimum project.
Steps to reproduce:
- Doubleclick mainwindow.ui in project tree
- Rightclick the button
- go to slot
- press OK
- press Ctrl + W twice (to close all opened files)
- doubleclick mainwindow.ui
I debugged it a bit, so the attached patch fixes the problem.
Imho it's a little dirty workaround, maybe someone else more experienced in designer internals has a better fix.
While debugging I came across Bug 70099, which might be related.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-21921 Qt Creator crashs when opening a Ui file in designer
- Closed
- relates to
-
QTBUG-70099 Qt Designer (embedded): QtCreator crashes when a ressource file is in the project and you open a form
- Closed
-
QTCREATORBUG-21525 QtCreator crashes sometimes when opening *.ui files
- Closed
For Gerrit Dashboard: QTBUG-71809 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
245931,2 | Qt Designer: Fix crash when reloading forms with resources | 5.12.0 | qt/qttools | Status: MERGED | +2 | 0 |