664 B
664 B
Testing and debugging Dolphin/KIO plugin with Qt Creator
- Build as usual, ensure
NO_FILE_ITEM_ACTION_PLUGIN
is turned off - Copy
*.desktop
file to~/.local/share/kservices5
and enable it in Dolphin if packaged version is not already installed - Add new config for run in Qt Creator and set
dolphin
as executable - In execution environment, set
QT_PLUGIN_PATH
to directory containing plugin\*.so
-fileQT_DEBUG_PLUGINS
to 1 for verbose plugin detectionQT_XCB_NO_GRAB_SERVER
to 1 to prevent grabbing so the debugger is usable
- Ignore warning that executable is no debug build, it is sufficiant when plugin is debug build