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.
246
questions
0
votes
0
answers
17
views
How to trace the child process with KDevelop?
I'm coding with KDevelop-5.5 in Kubuntu-20.04.
My program does a forking and I'm interested the executive flow of the child process, instead of the parent.
If I setup normal "Project target" ...
0
votes
0
answers
24
views
Can't get Kdevelop under Debian to recognise a path to new #include files - specifically the Boost libraries
I'm running Debian buster and KDevelop and I want to try out some of the boost libraries. The boost example lambda code won't compile because it can't find the boost header file which is in /home/user/...
0
votes
1
answer
65
views
Could not start debugger. Could not run 'lldb-mi'. Make sure that the path name is specified correctly
I'm facing this error when launching the C++ debug on KDevelop.
Where does this error originate? Any idea would be appreciated. thanks.
0
votes
1
answer
9
views
Where is the "mark occurrences" ("highlight selection") option/plugin?
When putting text cursor on a word I'd like other occurrences of this word to be highlighted.
I saw that it worked like that before. But how to enable it in the current version?
There is a highlight ...
0
votes
0
answers
21
views
How to setup Cairo with Cmake? [duplicate]
My team is working on a super light-weight project written in C, where we want to render shapes and GUI elements using Xlib and Cairo. We're working with Kdevelop and thus depend on CMake, but none of ...
0
votes
0
answers
10
views
Is there any way to configure the "Output View" plugin in Kdevelop?
It is difficult to read tab-separated output when the "Output View" is rendering tabs 8-wide. Can this be changed in any way?
0
votes
0
answers
31
views
KDevelop not detecting GDB for C++ projects in Ubuntu
I am getting the following error while attempting to debug a C++ project in KDevelop:
You need gdb 7.0.0 or higher.
You are using: GNU gdb (Ubuntu 10.2-0ubuntu1~20.04~1) 10.2
The solution, as ...
0
votes
1
answer
130
views
KDevelop can't find cmake in /usr/sbin/
I'm following https://develop.kde.org/docs/kirigami/introduction-getting_started/#mainqml (kirigami introduction) to create apps for my pinephone (arch64v8). I'm using KDevelop and have an aarch64 ...
0
votes
0
answers
161
views
KDE connect multimedia control not working for VLC on windows 11?
I am using VLC media player (windows version) and KDE connect on windows 11. The KDE connect's Multimedia control feature is not working with VLC Media player. But whereas it works well on Browsers ...
0
votes
1
answer
83
views
Kdevelop gdb error "You need gdb 7.0.0 or higher."
When trying to debug in kedevelop I'm getting the error:
You need gdb 7.0.0 or higher. You are using: Registered pretty
printers for UE classes
but I have a higher version than that:
$ gdb --...
0
votes
1
answer
55
views
How do I use Kdevelop to debug embedded code?
I have a project for Xilinx Zynq (Cortex A9). I want to be able to step-by-step debug the application in KDevelop. I know that xilinx has XSCT but I don't understand how can I get KDevelop to work in ...
1
vote
1
answer
67
views
Setting custom or using system PYTHONPATH in KDevelop
I'm looking for a way to specify a PYTHONPATH environment variable to KDevelop since it seems to ignore system PYTHONPATH (I tried setting it in all standard profile files, including /etc/profile).
As ...
0
votes
0
answers
82
views
How can I run Clang-tidy on KDevelop
I want to use Clang-tidy on KDevelop. I set all settings to use clang-tidy. But I got this error when I want to run clang-tidy
Unable to start check for 'PROJECT_PATH':
Nothing to check: compilation ...
1
vote
0
answers
65
views
KDevelop and Cppcheck without active project
Is it possible to somehow set cppcheck to run on regular c/c++ files without creating a project?
On my old computer cppcheck worked fine but now only works when I create a project in kdevelop.
I have ...
1
vote
0
answers
405
views
How to build Unreal C++ project on KDevelop on LInux?
I have been unsuccessfully trying to compile a c++/blueprint project using Plugins like SocketIO-for-UE or VA-REST. And now that i realize any C++ fails. creating C++ in Source folder also leads to ...
0
votes
1
answer
144
views
KDevelop semantic analyser getting crazy with std::variant. How to deal with it?
While using KDevelop, I reached some code where the Semantic Analyser get crazy: it mostly consider the full header as semantically wrong with ugly red highlighting everywhere.
I simplified to the ...
0
votes
0
answers
118
views
Stop automatic CMake configure in KDevelop
I'm using the latest AppImage of KDevelop (version 5.6.1) on a kubuntu 20.04 to develop and build a project with CMake.
Opposed to earlier versions of KDevelop this one automatically executes a CMake ...
1
vote
1
answer
526
views
Setting up QtCreator for use with KDE Framework and Kirigami
I'm trying to set up QtCreator, especially the QML Designer, to work with KF5 and Kirigami.
I'm at a point where I can compile and run the Kirigami Examples but the QML support doesn't seem to be ...
0
votes
0
answers
52
views
How to customize Code Browser of KDevelop?
I use KDevelop 5.5.0. I like the information that the Code Browser plugin provides, but don't like its behavior. I want it to show the tooltips only when I want them, for example only if the shift key ...
1
vote
1
answer
584
views
Specifically use make instead of ninja when importing cmake project in KDevelop
I am trying to set up a c++ project I am working on in KDevelop, since it looked like an interesting IDE. For this project I am using cmake and make, but for some reason when I import the project ...
1
vote
1
answer
64
views
How to open plain text file in KDevelop with embedded text editor
I cannot open some text files with an embedded text editor depending on the extension in the file name.
For example, if I have Wavefront .obj file, KDevelop will open it with hex editor, in the Open ...
2
votes
1
answer
946
views
Unable to setup vcpkg CMAKE_TOOLCHAIN_FILE with KDevelop
I have installed vcpkg according to the instructions provided here. I installed the libraries I wanted (in this case fmt and boost), then created a simple new project in KDevelop which runs just fine. ...
1
vote
0
answers
35
views
Kdevelop: Default project filters
In many of my web development projects I have to exclude the same paths (eg. node_modules, *.min.*) over and over again. Projects seem to have a default list of exclusions, but so far I have not found ...
0
votes
0
answers
334
views
Debugging Application on Raspberry pi with KDevelop
I have an application which runs on the Raspberry Pi and I would like to debug it from my host computer.
Cross compiling works fine and I am able to start the gdb server to debug.
...
3
votes
1
answer
91
views
How to define multi-config in KDevelop with CMake?
I'm working with KDevelop and CMake.
When I need to debug my program, I have to switch the value of "CMAKE_BUILD_TYPE" from "Release" to "Debug" in the Project Configure dialog, and rebuild all ...
1
vote
0
answers
104
views
KDevelop crashes when importing cmake-based C++ project
I have a cmake-based C++ project (of about 25 source and header files) which compiles and runs without problems ("cd build && cmake ../src && make && sudo make install"). The ...
1
vote
1
answer
829
views
How to set up code formatting in Kdevelop with clang-format?
I'm trying to set up code formatting in Kdevelop 5.4.5. I click on Settings > Configure KDevelop > Source Code Formatter. In the Formatter dropdown I select Custom Script Formatter, select Clang ...
1
vote
1
answer
97
views
How to disable variables multi-coloring in KDevelop?
Is there any way to force KDevelop to use only a single color for all variables?
0
votes
0
answers
37
views
KDevelop function deprecation warnings
I'm using g_str_to_ascii() function from glib library in KDevelop project. The function was added in glib 2.40 and I'm using even newer version of that library, but it's being marked by app as ...
1
vote
1
answer
227
views
how to let KDevelop & CMake only build specific targets?
I'm using KDevelop and CMake to develop a project that includes many targets, including a few of executables and libraries and many unit-tests of them.
Every time when I start to build my project, I ...
0
votes
1
answer
1k
views
KDevelop failed to configure projects
after setting up KDevelop under Kubuntu 19.10 with CMake, the following error occurs whenever I open a project:
Failed to configure the project (error message: Configuration failed.).
As a result, ...
1
vote
0
answers
203
views
How to add internal Consol/terminal in Kdevelop in ubunut?
I am using KDevelop version 5.4.2 in Ubunut 18.04. I want to use internal terminal, But there is no option of that.
In window-> Tool view, there is no option of terminal/ console
How can i add ...
0
votes
2
answers
726
views
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 ...
2
votes
1
answer
115
views
Is there any sort of "Codelet Template" in KDevelop?
Everytime I need to input a piece of code such as "switch .. case" or "declaring a class", I desire a way I can rapidly achieve it by hitting a shortcut.
In many IDEs, we can do it by pressing some ...
0
votes
1
answer
443
views
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)!), ...
5
votes
2
answers
2k
views
How to rename/revise target file with version number on installing in CMake?
I'm using CMake-3.13.4 and KDevelop-5.2.1.
I have a topmost CMakeLists.txt that defines the version numbers of my target.
It looks like:
set( PROJECT_VERSION_MAJOR 1 )
set( PROJECT_VERSION_MINOR 4 )
...
4
votes
0
answers
92
views
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 ...
1
vote
1
answer
268
views
Building plasma-desktop fails because the development release of KDE-Frameworks isn't installed
Summary
I'm trying to make changes to a KCM (application style to be exact) which is part of plasma-desktop, so obviously I need to build that.
However, on attempting to do that, it complains about ...
0
votes
1
answer
66
views
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 ...
0
votes
1
answer
99
views
GCC can't find header, but KDevelop has parsed it. How to solve?
I am including a KF5 header (#include <KXmlGui/KXMLGUIClient>) 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 ...
1
vote
1
answer
604
views
How can I build in KDevelop a Ninja project without using CMake?
CMake can generate a Ninja configured project, which can then be built from KDevelop.
However I already get my Ninja files with another tool (Meson).
How can I make KDevelop use the Ninja files ...
0
votes
1
answer
29
views
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 ...
0
votes
1
answer
817
views
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 <stdio.h>...
3
votes
0
answers
643
views
NMake under KDevelop (Win7) : error LNK1104: cannot open file 'kernel32.lib'
I have an existing project that I didn't know how to create a vs solution from it. So I decided to use KDevelop which can parse the directory and use the CMakeLists.txt.
The thing is that cmake can't ...
1
vote
1
answer
152
views
Can't debug KDevelop with KDevelop in Gnome shell
This problem may sound quite funny, but it's actually quite annoying.
It happens when I start debugging the KDevelop source code in KDevelop: when the debugged app hits the breakpoint and stops, I go ...
1
vote
0
answers
614
views
KDevelop won't start debugging
I used to be able to debug my program but now all of a sudden the debugger won't get past loading libc - or so it would seem.
The debugger breaks with a backtrace pointing to #0 __libc_read() at /...
0
votes
0
answers
341
views
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(...
1
vote
1
answer
31
views
KDevelop4: target build directory doubled after importing CMakeList.txt
When I try to compile individual build targets from project imported via CMakeList.txt I get error saying that file cannot be found. The error message cite path which is doubled the true path:
...
2
votes
1
answer
474
views
Error while starting kdevelop in Ubuntu 16.04
I am new in linux and i have installed ubuntu 16.04 64 bit on my machine. Installed kdevelop and while launching, I get the following error;
This application failed to start because it could not find ...
1
vote
1
answer
29
views
kdevelop detect concurrent file opens
My favorite editor, geany, has an option "Disk check timeout", after this timeout it checks if someone else has overwritten the file that I'm editing. This is a simple tool to detect if two people ...