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
0
votes
2 answers
Can Kdevelop 5.0 still load existing external cmake project
I know that KDevelop 4 was able to import CMake projects (hand written CMakeLists.txt not generated by KDevelop) ... but now after I installed ubuntu 18.04 it seems this is not possible anymore (the Project > Open/Import Project dialog simply refuse…

Prokop Hapala
- 2,424
- 2
- 30
- 59
0
votes
1 answer
Turn off semantic analysis for GLSL in KDevelop
I ran into a not very pleasant problem: my GLSL shaders are defined by the analyzer as C++ code (nevertheless, KDevelop understands that it is GLSL (Service > Document type > 3D graphics > GLSL)!), Respectively, I see my shader as "full of errors".…

congard
- 945
- 2
- 10
- 28
0
votes
1 answer
Using user-defined ADD_EXECUTABLE in CMake with KDevelop 4
We have defined our own ADD_EXECUTABLE macro (TDS_ADD_EXECUTABLE) for our cmake files which handles some nice internal functionality for us.
The problem is, when I load up our project in KDevelop 4 (linux) while it finds and builds our entire…

SPowers
- 13
- 3
0
votes
1 answer
How to fix "WebConnect: Starting server failed. Try to remove stale socket." when attempting to debug in Kdevelop?
I downloaded the code for KMyMoney in Git.
git clone https://github.com/KDE/kmymoney.git
I installed Kdevelop in Fedora 30. I installed all the dependencies.
I opened Kdevelop and imported my project.
When I try to debug, I get this error:…
0
votes
1 answer
GCC can't find header, but KDevelop has parsed it. How to solve?
I am including a KF5 header (#include ) and while KDevelop gives me info about this header when I hover the directive, GCC by no means can find this and other (very few and random) KF5 headers.
I am using CMake and I used the…

Petross404
- 177
- 1
- 12
0
votes
1 answer
how to check if my program is being traced by kdevelop or running in production mode?
Because there is a "fork" invoking in my program, it is difficult to trace my program in KDevelop. It certainly thinks that my program has already finished after the "fork" statement, but the real logic is just now going to start.
Is there a way or…

Leon
- 1,489
- 1
- 12
- 31
0
votes
1 answer
Floating/Embedded QDockWidget in a QWidget (KXmlGuiWindow's CentralWidget designed in QT Designer)
I'm just trying to get into QT (and KDE) program, and have hit a snag trying to add a floatable, draggable QDockWidget to the .ui file (based as a QWidget) that is embedded into my KDE 4 program.
This is all from the basic template provided by…
clinton
0
votes
1 answer
undefined reference of an extern variable when using cmake
I have the following c files.
prog1.h
#ifndef PROG1_H
#define PROG1_H
extern char* hello;
#endif
prog1.c
#include "prog1.h"
char *hello="hello";
one.c
#include "prog1.h"
#include
int main(){
printf("%s",…

Akash Chowdhury
- 21
- 4
0
votes
1 answer
Plugin development for KDE file manager
I want to introduce a new field when right clicking on a file in Red Hat file browser. Assuming what I have read, the default file browser is Dolphin. But I am not sure how to go about developing a plugin/hack which could do the above.
Any links on…

Nullpoet
- 10,949
- 20
- 48
- 65
0
votes
0 answers
Unable to set GCC 8.1 in CMakeList.txt for Kdevelop
I have a problem with Kdevelop 5.2.1 under ubuntu 18.04.1, Kdevelop refuses to choose GCC 8.1, he chooses the default version 4.9.
I tried this in CMake:
set(CMAKE_C_COMPILER "gcc-8.1")
set(CMAKE_CXX_COMPILER "/usr/bin/g++-8")
and I tried this add…

Bensuperpc
- 1,275
- 1
- 14
- 21
0
votes
1 answer
How to install YAML::PP perl module by resolving this error?
I constantly keep getting this error while trying to compile Kdevelop on my Fedora 27 virtualbox.
As mentioned in here, I try to use this line kdesrc-build kdevelop
And I get this response:
kdesrc-build requires some minimal support to operate,…

Sagnik Chaudhuri
- 35
- 7
0
votes
0 answers
How to link statically to wxWidgets from Kdevelop on linux?
Hello I have installed wxWidget-3.1.0 s on windows it works fine using it from MSVC++. But On Linux fedora 27 I built it in a sub-directory "wxWidget3.1.0/build-gtk-unicode-release".
These are the comands:
../configure --disable-debug
make
sudo make…

Maestro
- 2,512
- 9
- 24
0
votes
1 answer
Trying to add to a toolbar and menubar in KDevelop 4
How do I add to a toolbar or menubar for a KDevelop 4 plugin. I know I need to use a .rc file but I'm not sure the exact syntax of that xml file and also what I need to put in my code in order for KDevelop to show a toolbar.
void…

JC2
- 141
- 1
- 4
- 11
0
votes
1 answer
KDevelop building plugin problems with undefined reference
I'm getting undefined reference to KDevelop::IPlugins. I know this means i'm missing the libary but I'm not sure which library this is. Where would I find this .so that I am missing?

JC2
- 141
- 1
- 4
- 11
0
votes
1 answer
Qt and Kde4 running make after running CMake
I'm trying to build my own plugin for use with KDevelop. I can CMake and build a Makefile but when I run make I get a lot of errors relating to it not finding anything from Qt such as "QString does not specify a type. Is there something I need to…

JC2
- 141
- 1
- 4
- 11