| Summary: | Qt pretty printing does not work with GDB | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Eugene Shalygin <eugene.shalygin+bugzilla.kde> |
| Component: | CPP Debugger | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | niko.sams |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kdevelop/12e590611af041516fccb82e02a9e150311b1b3b | Version Fixed/Implemented In: | 5.2.0 |
| Sentry Crash Report: | |||
|
Description
Eugene Shalygin
2017-04-26 10:41:17 UTC
Installing those files fixed the problem for me. Do you have a patch? Care to contribute via Phabricator? See: https://www.kdevelop.org/contribute-kdevelop Oh, I don't think these two line changes worth a Phabrikator review:
diff --git a/debuggers/gdb/CMakeLists.txt b/debuggers/gdb/CMakeLists.txt
index 977354be9b..f330cd5137 100644
--- a/debuggers/gdb/CMakeLists.txt
+++ b/debuggers/gdb/CMakeLists.txt
@@ -1,5 +1,7 @@
project(gdb)
+add_subdirectory(printers)
+
find_package(OktetaGui)
set_package_properties(OktetaGui PROPERTIES
PURPOSE "Required for building MemoryViewer Widget."
diff --git a/debuggers/gdb/printers/CMakeLists.txt b/debuggers/gdb/printers/CMakeLists.txt
index 4a6e16122a..5a9ec11675 100644
--- a/debuggers/gdb/printers/CMakeLists.txt
+++ b/debuggers/gdb/printers/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_subdirectory(tests)
+#add_subdirectory(tests)
install( FILES helper.py qt.py kde.py gdbinit
DESTINATION ${KDE_INSTALL_DATADIR}/kdevgdb/printers )
Git commit 12e590611af041516fccb82e02a9e150311b1b3b by Kevin Funk. Committed on 27/04/2017 at 07:24. Pushed by kfunk into branch 'master'. gdb: Fixup: install GDB printers again Accidentally disabled in c4dabb9d8c093e47e419ac9154623b36b9ba181a Thanks Eugene for the patch! FIXED-IN: 5.2.0 M +1 -0 debuggers/gdb/CMakeLists.txt M +0 -2 debuggers/gdb/printers/CMakeLists.txt https://commits.kde.org/kdevelop/12e590611af041516fccb82e02a9e150311b1b3b Thanks! |