Questions tagged [kdevelop]

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.

245 questions
45
votes
6 answers

Python.h: No such file or directory

I recently installed KDevelop 4 for C++ development on my Macbook Pro running Ubuntu 12.04 LTS. I want to embed Python application in my C++ code. To do that, one needs to include the Python.h header file. So, I did that. #include…
Shubham Goyal
  • 1,254
  • 4
  • 19
  • 24
23
votes
2 answers

Cmake target_link_libraries not linking my library

I'll begin stating that I'm almost complete dumb in Cmake matter. I have the following CMakeLists.txt for a Kdevelop 4.1 project: project(uart) find_package(KDE4 REQUIRED) include (KDE4Defaults) include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES}…
j4x
  • 3,595
  • 3
  • 33
  • 64
19
votes
2 answers

Manually configuring shadow build in qmake

There is a feature I really like in qt creator and it is the Shadow build. When the Shadow Build is on, all the generated files (*.moc, Makefile, *.o) will be generated in a given source directory, so the sources directory is kept clean. I am moving…
Sambatyon
  • 3,316
  • 10
  • 48
  • 65
15
votes
3 answers

Using a struct in a header file "unknown type" error

I am using Kdevelop in Kubuntu. I have declared a structure in my datasetup.h file: #ifndef A_H #define A_H struct georeg_val { int p; double h; double hfov; double vfov; }; #endif Now when I use it in my main.c file int…
dead_jake
  • 523
  • 2
  • 12
  • 30
13
votes
3 answers

Is there a kdevelop version that i can install on windows?

is there any other than using Cygwin? thanks!
craftace
  • 217
  • 1
  • 6
  • 10
13
votes
4 answers

Any way to auto-indent a c/c++ code with Kdevelop?

I've a source code that's not mine, there are not comment and it's completely not indented. Is it a really mess. Do you know if there is some option, addon for kdevelop that would auto-indent it?
manty
  • 131
  • 1
  • 1
  • 6
11
votes
1 answer

How to enable c++11 in Kdevelop

I have switched from Eclipse and Code::Blocks and would like to know how to set a project in Kdevelop to c++11 mode (std=c++11)
jproton
  • 766
  • 1
  • 7
  • 15
10
votes
5 answers

Which way to go in Linux (Qt or KDevelop)

Which one of the IDE is good in terms of support for debugging, implementation and usabality. Qt or KDevelop? Various duplicated: C++ IDE for Linux? https://stackoverflow.com/questions/86676/is-there-a-good-and-free-ide-for-cc-in-linux what's the…
Vinay
  • 4,743
  • 7
  • 33
  • 43
10
votes
1 answer

kdevelop: comment out block

I can't find any shortcuts for commenting out blocks of code. before: int main() { std::cout << "my awesome program" << std::endl; return 0; } CTRL + / // int main() { // std::cout << "my awesome program" << std::endl; // return…
Ilia Choly
  • 18,070
  • 14
  • 92
  • 160
9
votes
3 answers

KDevelop debugging warning: Failed to set controlling terminal: Operation not permitted

A while ago I changed my personal operating system to linux and my development enviroment to KDevelop. However debugging c++ projects is still not working as it should. My KDevelop version is 4.2.2 (I installed it through package management) Every…
Mythli
  • 5,995
  • 2
  • 24
  • 31
9
votes
2 answers

CMAKE cross compile libraries are not found

I'm having strange problems with my cmake cross-compiler projects. My own libraries are found but not the (system) libraries from my toolchain. Previously I was using KDevelop on debian squeeze machine. now on my new machine with debian wheezy the…
Meister Schnitzel
  • 304
  • 2
  • 4
  • 11
9
votes
1 answer

KDevelop with CMake project - how to manage debug and release builds?

Does KDevelop support switching between debug and release builds for CMake projects?
Grzenio
  • 35,875
  • 47
  • 158
  • 240
8
votes
2 answers

kdevelop no valid executable specified

I've just installed kdevelop 4.1 , then created a normal hello world , build is ok but when i press execute it gives me (no valid executable specified) any idea ?
Ismail Marmoush
  • 13,140
  • 25
  • 80
  • 114
8
votes
2 answers

mutil-line editing in KDevelop?

I would like to do multi-line edits in KDevelop, similar to the column-edit in Visual Studio when alt is held, such that my cursor extends accross multiple lines, and each key I press is written to each line simultaneously. This link seems to show…
Nicolas Holthaus
  • 7,763
  • 4
  • 42
  • 97
8
votes
2 answers

How to view values of variables in KDevelop?

I am using KDevelop as IDE for my C++ program. I have an array char buffer[1024] in my program. After reading data to buffer, I would like to check it manually. But in the left panel, I need to read the array character by character. Is there some…
Jackzz
  • 1,417
  • 4
  • 24
  • 53
1
2 3
16 17