Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
e162f18e
Commit
e162f18e
authored
Jan 11, 2010
by
hjk
Browse files
debugger: fail gracefully when trying to extract the Qt namespace in non-Qt
applications
parent
b3657afb
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
e162f18e
...
...
@@ -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
=
""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment