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
0
votes
1 answer

KDevelop include QtGui not found

I'm trying to learn how to use KDevelop on my Ubuntu 16.04 to write C++ code, and I installed it by doing this sudo apt-get update sudo apt-get install kdevelop but after it is done installing and I'm trying to make a new project, and the lines at…
0
votes
1 answer

typing brackets in code using kdev-python and Kubuntu 17.10

When writing Python code, I want automatic right-side brackets to be placed whenever I type a left-sided-bracket, with the cursor in-between the two so I can immediately type code in-between the brackets. I watched a video that showed a programmer…
user12711
  • 693
  • 1
  • 7
  • 21
0
votes
0 answers

KDevelop projects not recognizing standard headers

I have a fresh MinGW installation at "C:\MinGW", and added "C:\MinGW\bin" to my user PATH. I start a project with -G "MinGW Makefiles" as instructed. However, KDevelop doesn't recognize #include even though it is located in…
Ran Lottem
  • 476
  • 5
  • 17
0
votes
1 answer

Index load_source'd Python module in KDevelop

The Walabot API tells me to from imp import load_source WalabotAPI = load_source('WalabotAPI','/usr/share/walabot/python/WalabotAPI.py') but the KDevelop IDE (version 5.1.0) doesn't index the module, so it's code auto-complete and navigation won't…
Laurenz
  • 1,810
  • 12
  • 25
0
votes
1 answer

How to toggle a line block comment in KDevelop?

Here is a selection: int main(int argc, char *argv[]) { if (argc > 1) return 5; else return 7; return 0; } After "toggle comment", I'd like to see this: int main(int argc, char *argv[]) { // if (argc > 1) // …
Velkan
  • 7,067
  • 6
  • 43
  • 87
0
votes
1 answer

I am getting error while opening KDevelop

Recently I have installed KDevelop on my Windows7 32bit OS, and after installing when I try to open it I am getting an error. Actually, when I try to open KDevelop it says that **api-ms-win-crt-runtime-l1-1-0-dll** is missing, after getting that…
0
votes
1 answer

How to have an auto incrementing build version number (KDevelop)?

How to have an auto incrementing build version number in KDevelop? I would like to set up a semi-automatic versioning for my local c++ projects in kdevelop. Something like: int MajorVersion = 1; // this manual int MinorVersion = 2; // this…
Hastur
  • 2,470
  • 27
  • 36
0
votes
0 answers

scan-build doesn't find "variable is used uninitialized"

I am trying to find bugs in reviewed project using scan-build tool. Its output report seems just perfect to send to author of code. Tool finds some good warnings. I also use KDevelop 5.0.3 and it shows me even more warnings. Specifically it reports…
MateuszL
  • 2,751
  • 25
  • 38
0
votes
1 answer

How to incorporate a GUI into a C code written in KDevelop?

Longtime reader, but this is my first time ever posting. I will try to keep this concise and to the point. I'm brand new to linux and GUI's so i hope this is the correct forum for posting this: I have written a navigation program (in C) which takes…
Ryan F.
  • 11
  • 2
0
votes
1 answer

How to remove KDevelop 5 on Ubuntu

I have downloaded KDevelop 5 from https://www.kdevelop.org/download wget -O KDevelop.AppImage http://download.kde.org/stable/kdevelop/5.0.3/bin/linux/KDevelop-5.0.3-x86_64.AppImage chmod +x KDevelop.AppImage ./KDevelop.AppImage Now, I want to…
user6834389
  • 73
  • 1
  • 11
0
votes
1 answer

How Cmake colorizes output?

Following the advice given to question How to get colorized output with cmake? I attempted to colorize the output. Two strange experiences 1./ When using bold coloring, an unneeded ';' is inserted at the place where the color is changed. (KDevelop…
katang
  • 2,474
  • 5
  • 24
  • 48
0
votes
2 answers

Why does Kdevelop 4 show my source cpp files twice in the project?

I am using KDevelop 4.7.1 on OpenSUSE Leap Linux, and I'm trying to figure out why both the main.cpp and test.cpp files are shown TWICE in my project, once in the root note and once inside the launch configuration. I am aware that the test inside…
Warren P
  • 65,725
  • 40
  • 181
  • 316
0
votes
1 answer

KDevelop4: Set environment variable when before CMake

Related to my other question here (CMake: Force to use optional include and library path), how do I set an environment variable in Kdevelop4 when debugging the project / executing CMake? I need to set CMAKE_PREFIX_PATH in order to give certain…
benjist
  • 2,740
  • 3
  • 31
  • 58
0
votes
1 answer

cmake kdev-executebrowser plugin for kdevelop

I am trying to install kdev-executebrowser from https://github.com/KDE/kdev-executebrowser into kdevelop. So I cloned the plugin from git hub and tried to cmake and got an error (please check the quote below). I can't figure how how to solve this.…
0
votes
2 answers

KDevelop - force import of cmake project even when selected build directory not empty

I've just started using KDevelop (ver. 4.6) and I'm having an issue with the way the IDE imports existing cmake projects. When you execute cmake the pre-selected build directory gets filled with all sorts of things including the CMakeCache, make…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161