Sunday, October 28, 2012

Execute Sql KDevelop Plugin

Lot of stuff happened at the Kate/KDevelop sprint in Vienna. (Thanks again to Joseph and KDE e.V. for sponsoring the sprint)

One small - but still useful - thing is the first public beta release of the kdev-sql plugin. It allows you to execute SQL queries from within KDevelop. Simply press Ctrl+E (or Run->Execute SQL) to execute the contents of the current file as SQL query.

The only use case this is trying to solve is debugging and performance testing of queries.

Database connections can be configured per project - all QtSql divers are supported.

Get the script here: kdev-sql-1.3.80.tar.bz2
(compatible with KDevelop 4.4)

In future other features like schema browsing and autocompletion could be implemented...


  1. how can I run this plugin?
    Kdevelop don't see him after compile and install kdev-sql-1.3.80.

    please help

    1. 1. Make sure you use a compatible version of kdevplatform (1.4).
      2. run kbuildsyscoca4 after installing

    2. I use kdevplatform-1.4.0-1.fc17.x86_64 FEDORA 17

      Qt: 4.8.2
      KDE: 4.9.2
      KDevelop: 4.4.0

      I still don't see SQL plugin in kdevelop.


    3. So you did run kbuildsyscoca4?

      Is it installed into a proper prefix?

      does it show up in Help -> Loaded Plugins?

    4. oh, you can also ask for help on irc, #kdevelop on freenode.

  2. Thank you for bringing more information to this topic for me. I’m truly grateful and really impressed. Please visit