forked from qt-creator/qt-creator
debugger: fail gracefully when trying to extract the Qt namespace in non-Qt
applications
This commit is contained in:
@@ -241,6 +241,9 @@ def qtNamespace():
|
||||
return type[0:len(type) - len("QString::null")]
|
||||
except RuntimeError:
|
||||
return ""
|
||||
except AttributeError:
|
||||
# Happens for none-Qt applications
|
||||
return ""
|
||||
|
||||
def encodeCharArray(p, size):
|
||||
s = ""
|
||||
|
||||
Reference in New Issue
Block a user