Kdevelop 5 + kdev-control-flow-graph

I successfully built and installed the kdev-control-flow-graph plugin after it drew sandsmark / kdev-control-flow-graph in my own fljx / kdev-control-flow-graph with minimal changes.

When I try to enable kdev-control-flow-graph, I get the following error:

KGraphViewer KPart Error

"Unable to instantiate KGraphViewer, make sure compatible version is installed.

I work on Kubuntu 16.04 with KDevelop 5.1.1 and install kgraphviewer:

# apt search kgraphviewer
Sorting... Pronto
Full Text Search... Pronto
kgraphviewer/xenial,now 4:2.1.90-0ubuntu2 amd64 [installed]
  GraphViz dot graph viewer

kgraphviewer-dbg/xenial 4:2.1.90-0ubuntu2 amd64
  GraphViz dot graph viewer for KDE 4 debug files

kgraphviewer-dev/xenial,now 4:2.1.90-0ubuntu2 amd64 [installed]
  GraphViz dot graph viewer - devel files

libkgraphviewer2/xenial,now 4:2.1.90-0ubuntu2 amd64 [installed]
  GraphViz dot graph viewer - libs

Then I build KGraphViewerfrom github, and my system now has:

# find /usr -iname "*kgraphviewer*.so*" -ls
 10571222      0 lrwxrwxrwx   1 root     root           22 Ago 14  2015 /usr/lib/libkgraphviewer.so.2 -> libkgraphviewer.so.2.1
 10571221    712 -rw-r--r--   1 root     root       728288 Ago 14  2015 /usr/lib/libkgraphviewer.so.2.1
 10558158   2868 -rw-r--r--   1 root     root      2935024 Ago 17 16:32 /usr/lib/x86_64-linux-gnu/libkgraphviewer.so.3
 11170876      0 lrwxrwxrwx   1 root     root           57 Ago 17 16:37 /usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/27/kgraphviewerpart.so -> /usr/lib/x86_64-linux-gnu/qt5/plugins/kgraphviewerpart.so
 10748549    180 -rw-r--r--   1 root     root       181312 Ago 17 16:32 /usr/lib/x86_64-linux-gnu/qt5/plugins/kgraphviewerpart.so
 10558159      0 lrwxrwxrwx   1 root     root           20 Ago 17 16:33 /usr/lib/x86_64-linux-gnu/libkgraphviewer.so -> libkgraphviewer.so.3
 10571223     60 -rw-r--r--   1 root     root        60392 Ago 14  2015 /usr/lib/kde4/kgraphviewerpart.so
 10571224      0 lrwxrwxrwx   1 root     root           20 Ago 14  2015 /usr/lib/libkgraphviewer.so -> libkgraphviewer.so.2

Can someone please give me any tips on how to properly configure my plugin KGraphViewer KPart?

Thanks in advance.

+4
1

KDE dev.

KGraphViewer , KParts. KGraphViewer KPart Qt5/KF5 . , kdev-control-flow-graph KGraphViewer, .

+2

Source: https://habr.com/ru/post/1685470/


All Articles