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

Change format of the "date" variable when writing snippets in KDevelop

I am writing a simple snippet in KDevelop 4 to print the date of today, taking advantage of the Snippets feature and of the variable %{date}. The default format, however, is apparently MM/DD/YYYY, and I'd like to change it into YYYY-MM-DD. I have…
sturmer
  • 350
  • 5
  • 17
0
votes
1 answer

how to automatically remove blank lines - kdevelop

Is there a way/tool to automatically remove blank lines on kdevelop Version 4.3.1? For instance, this: tmpTime.tm_year = RTC_Time->bYear1 + RTC_Time->bYear; tmpTime.tm_mon = RTC_Time->bMonth; tmpTime.tm_mday = RTC_Time->bDay; would become…
eeadev
  • 3,662
  • 8
  • 47
  • 100
0
votes
1 answer

KDevelop4 linking to external library

I'm trying to setup KDevelop with Gcc, but I can't get it to properly link to external libraries. I get the following error: /home/tahsin/Projects/glWrap/build> make Linking CXX executable glwrap CMakeFiles/glwrap.dir/main.cpp.o: In function…
Tahsin M
  • 129
  • 2
  • 7
0
votes
2 answers

Segfault in c++ program; Incomprehensible valgrind output

I'm currently writing my first big c++-project but encountered a segmentation fault when running the program. I already tried to debug it using valgrind, but so far without success. Since the program is quite big, I'll show only the relevant…
0
votes
1 answer

Kdevelop4 path to library binaries

I'm having problem reported as below while trying to execute it. Where should I go to let it know where to find the .so lib which is under ${HOME}/projects/OpenImageIO/dist/linux64/lib? Starting:…
0
votes
1 answer

How to make Kdevelop like DockWidget using qt

I want to make an IDE but want Kdevelop like dockwidget as shown in figure. I want to use qt. I want to know how this is implemented in Kdevelop. Is it a custom widget using QTabBar and QStackedWidgets or something else? It would be nice if some one…
sanjay
  • 735
  • 1
  • 5
  • 23
0
votes
1 answer

kdevelop to use ctags

I am having KDevelop version 4.3.1 on my ubuntu box. I want the editor to use the ctags file generated manually. It does not detect tag file located at ~/projects/project_name/tags. How do i make KDevelop use the ctags file ? Any…
Sachin Shetye
  • 378
  • 6
  • 17
0
votes
2 answers

How can I see where do I reference a null pointer using KDevelop?

I am using KDevelop for C++ development and debugging. Looks like I am dereferencing an NULL pointer somewhere, because I get: *** Program received signal SIGSEGV (Segmentation fault) *** How can I figure out where it happened? I would like…
Grzenio
  • 35,875
  • 47
  • 158
  • 240
0
votes
2 answers

Installing a project in KDevelop fails

I've got a project in KDevelop, but attempting to install if from within the IDE simply gives the following output: /home//Projects/rect/build/release> kdesu -t -- make -j8 install *** Failed *** However, when I run the exact same…
0
votes
1 answer

kdevelop linking trouble

After adding a new class to a KDevelop C++ project, linker has a problem to find exact sources (calculation.cpp in this case): -- Build files have been written to: /var/www/C++/fibonacci/build Scanning dependencies of target fibonacci Linking CXX…
ducin
  • 25,621
  • 41
  • 157
  • 256
0
votes
3 answers

Undefined Reference using KDevelop 4.4.1

I'm a beginner with C++. I wrote the following: // GradeBook.h #include #include using namespace std; class GradeBook { public: GradeBook(string); // constructor that initializes courseName void setCourseName(string);…
Chu
  • 468
  • 1
  • 5
  • 21
0
votes
1 answer

Debug KDevelop in KDevelop

I am trying to debug the KDevelop project by using my system KDevelop installation and I came across with a problem that my ( under debugging ) KDevelop application wont read the plugins from the local installation directory. Instead of that it try…
AlexTheo
  • 4,004
  • 1
  • 21
  • 35
0
votes
3 answers

Howto send signals to a program started in Debug mode in KDevelop

I want to analyse a program that i've written in KDevelop. I compile the Program and start it with Right Click on the CMake Project -> Debug as... -> Native Application Now the program runs in KDevelop and I can see the output on the console…
Angstgeist
  • 555
  • 1
  • 7
  • 13
0
votes
2 answers

KDevelop - C++: How to start tracing a simple main.cpp?

I cannot seem to run a simple hello world application in debug mode. When I press the Debug button, the application executes and ends normally, even though I have put a breakpoint on the line that "hello world" is printed. I have also gone through…
B Faley
  • 17,120
  • 43
  • 133
  • 223
0
votes
2 answers

How to prevent kdevelop showing "Unable to load the project file ...." for non-existing project

When I start kdevelop (4.3.1) on Ubuntu (12.04) it is always showing a message twice Unable to load the project file ... I once created a project kdevelop is trying to find, but I moved files around and now the project's location has changed. As…
Alex
  • 41,580
  • 88
  • 260
  • 469
1 2 3
16
17