-
Type:
Bug
-
Status: Closed
-
Priority:
P0: Blocker
-
Resolution: Done
-
Affects Version/s: 5.4.2, 5.5.0 Alpha
-
Fix Version/s: 5.4.2
-
Component/s: Core: Other
-
Labels:None
-
Environment:Debian SID + gcc 5 from eperimental
-
Commits:36d6eb721e7d5997ade75e289d4088dc48678d0d (qtbase/5.4.2 8.5.2015, 5.4.2)
I've tried a few examples and some of them are crashing (e.g. examples/widgets/mainwindows/application).
From what I've seen it seems that (sometimes) gcc5 fails to static_cast QCoreAppication to QGuiApplication, qGuiApp macro (static_cast<QGuiApplication *>(QCoreApplication::instance())) is 0.
I realy have no idea why somethimes qGuiApp works and sometime doesn't, and I have no idea if its gcc's fault or Qt's.
I attached the full backtrace.
- is required for
-
QTBUG-44881 Issues to be fixed before 5.4.2
-
- Closed
-
- replaces
-
QTBUG-45836 Segmentation fault with sendEvent()
-
- Closed
-
-
QTBUG-46647 QByteArray::isNull() doesn't work properly under CMake
-
- Closed
-
-
QTBUG-45760 Some Qt apps crashs if they are compiled with gcc5
-
- Closed
-