KDevelop is a IDE for C/C++ and Qt supporting cmake, qmake and custom makefiles. It also has plugins for PHP, Python, Rust, Ruby, QML/JS and Go languages.
Questions tagged [kdevelop]
245 questions
5
votes
1 answer
How to use / include libraries in Cmake / Kdevelop
I don't understand what I need to do to use a library which is located in /usr/include.
For example: I want to use the json library which is located in /usr/include/json.
In my project 'main.cpp' I do #include .
I don't get any errros…

Zero
- 355
- 1
- 4
- 12
5
votes
2 answers
How to delete all KDevelop generated files?
I've been trying to browse a big codebase with KDevelop. I had to give up that but KDevelop has managed to generate 3GB of data in the project folder as a result of background parse. I want to delete all that is left of KDevelop as that project is…

Bubba88
- 1,910
- 20
- 44
5
votes
1 answer
Debugging nested STL Containers in KDevelop
in KDevelop, when I debug a vector, I can see its content. This is the result of
vector v = {1,2,3};
but debugging a vector< vector < int > > doesn't show its content. This is the result of
vector< vector < int > > v = {{1,2,3},…

Islam Hassan
- 1,736
- 4
- 26
- 42
5
votes
1 answer
Git and KDevelop
I'm starting programming with KDevelop and Git.
I'm creating a project in C++ with KDevelop 4.4.1 and actually I've a Git account in Assembla.
I'm able to create an "internal git repository", doing commits with KDevelop.
I was researching about how…

Chu
- 468
- 1
- 5
- 21
5
votes
0 answers
KDevelop 4.3.1 not parsing Eigen 3
I'm using KDevelop 4.3.1 on ubuntu 12.04. It's not parsing the Eigen 3 library, while this release note says it should.
It is a little more subtle than this.
KDevelop is parsing part of the Eigen library when placing a using namespace Eigen before…

Raf Berkvens
- 167
- 1
- 8
5
votes
1 answer
kdevelop debugger automatically detaches from a process after a few steps
I am trying to debug a few C++ applications with KDevelop 4.0.1(on KDE 4.4.5 and gdb 7.0.1) on Debian 6.0.6. Irrespective of what part of the code I break into, the debugger detaches automatically after stepping through a few instructions. I didn't…

HAL
- 3,888
- 3
- 19
- 28
5
votes
1 answer
I can't add input in internal terminal in KDevelop
I'm new to KDevelop,
how do you type input in the internal terminal in KDevelop?
Say I have a program that asks the user his/her age? When I execute it in KDevelop I can see the output (the question) but I can't add any input.
when I run the…

omar
- 61
- 2
- 4
5
votes
2 answers
kdevelop #include
The Kdevelop wiki says (bottom of the page)
*For cases where KDevelop is still not figuring out the include path properly after you have configured your build toolchain, you can manually add include paths on a per-directory basis into a…

user189035
- 5,589
- 13
- 52
- 112
4
votes
0 answers
How to let KDevelop format source code in a "tpp" file in a way same as in a "cpp" file?
I'm using KDevelop 5.2, and have source files of three kinds: hpp/cpp/tpp.
Because there are many inline functions crossing invokes each other, I have to put inline codes into few of separate files with "tpp" suffix and can be included freely by…

Leon
- 1,489
- 1
- 12
- 31
4
votes
2 answers
Kdevelop as a Rails IDE
I would like to use Kdevelep as a Ruby on Rails IDE as I'm using Linux. How do I set up Kdevelop to enable this?

abhijit
- 6,363
- 5
- 26
- 32
4
votes
1 answer
Integrating KDevelop with MSYS2
I have been using KDevelop on Linux for a long time, and I really like its CMake integration. Also, on Windows, MSYS2 constitutes my favorite development environment. How can I use KDevelop with MSYS2? If I simply call KDevelop from MSYS2 shell,…

jnbrq -Canberk Sönmez
- 1,790
- 1
- 17
- 29
4
votes
4 answers
Include another CMake Project as Library
I have decided to make a C++-Qt-GUI for a C program (both languages I don’t know), using KDevelop, which in turn uses CMake.
The C source has no header, so I made one, and migrated some structs into it, as well as the declaration of the only…

flying sheep
- 8,475
- 5
- 56
- 73
4
votes
1 answer
Kdevelop 5 + kdev-control-flow-graph
I successfully build and installed kdev-control-flow-graph plugin after forking from sandsmark/kdev-control-flow-graph into my own fljx/kdev-control-flow-graph branch with minimal changes.
When I try to enable kdev-control-flow-graph view, though, I…

j4x
- 3,595
- 3
- 33
- 64
4
votes
2 answers
How to associate the file extension of an Arduino sketch file (.ino file) as a C/C++ file for syntax highlighting?
I'd like to use KDevelop as my editor. How do I tell KDevelop to treat the .ino files as C/C++ files so it does things like syntax highlights and "Jump to Declaration"?
Is there a place to associate file extensions?

101010
- 14,866
- 30
- 95
- 172
4
votes
1 answer
How to watch values of vector in Kdevelop debugger?
I know that with VisualStudio, there are more possibilities to view the values in a std::vector v, like v._first, 100 -> displays the first 100 elements, or changing some log file. Is there a way to do this in KDevelop under Ubuntu 14.04?

sop
- 3,445
- 8
- 41
- 84