Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.5.1, Qt Creator 4.0.0
-
None
-
Ubuntu 12.04.5 LTS x86_64
Qt 4.8.1, Qt 4.8.5, Qt 5.1.0, Qt 5.5.1
gdb 7.4 & 7.8
-
b198d482cf949c7b579ba62c1601d896b9dc6078
Description
This bug is the reason for QTCREATORBUG-14449.
qtVersion() in gdbbridge.py always return self.fallbackQtVersion (0x50200).
qtVersion() code:
qtversion = int(gdb.parse_and_eval("((void**)&qtHookData)[2]")))
fail with exception "Cannot convert value to int.".
qtNamespace() return garbage ns on Qt 4.x.
Patch attached.