Debugger: Don't memoize guessed Qt versions too quickly

There might be better data after more shared objects are loaded.

Change-Id: Ib81226b4cafe0d067d62087e320413f8d070bee8
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-03-07 14:22:35 +01:00
parent aeddc56ebe
commit 6975be4f54

View File

@@ -915,7 +915,7 @@ class Dumper(DumperBase):
try: try:
# This will fail on Qt 5 # This will fail on Qt 5
gdb.execute("ptype QString::shared_null", to_string=True) gdb.execute("ptype QString::shared_null", to_string=True)
self.cachedQtVersion = 0x040800 return 0x040800
except: except:
#self.cachedQtVersion = 0x050000 #self.cachedQtVersion = 0x050000
# Assume Qt 5.3 until we have a definitive answer. # Assume Qt 5.3 until we have a definitive answer.