You are not logged in.

#1 2010-01-19 08:42:42

JezdziecBezNicka
Member
From: Cracow, Poland
Registered: 2009-12-03
Posts: 89

KDevelop4 code completion problem

I have set up a wxWidgets project using a Makefile in KDevelop4 ([extra] version, not [aur] one). It crawls through the .h files fine and suggests available classes/methods.

Hovewer, if a class inherits a method and not reimplements it, kdevelop doesn't figure out its existence.

I'll give an example: WxFrame inherits Show(...) from wxWindow. when i try:

wxFrame *frame = new wxFrame(..sth..);
frame->Show(true);

it says Show is undeclared. Only way to make it understandable for kdevelop is to write

frame->wxWindow::Show(true)

but code completion doesn't suggest it at all

Can someone help me with this? Or should I write to the kdevelop crew?


This is my signature. If you want to read it, first you need to agree to the EULA.

Offline

#2 2010-01-19 12:29:12

JezdziecBezNicka
Member
From: Cracow, Poland
Registered: 2009-12-03
Posts: 89

Re: KDevelop4 code completion problem

I've just noticed that this issue doesn't occur in my classes, only in the wxWidgets ones. WxFrame is taken from wx/gtk/frame.h and not wx/frame.h.

I am not so good at figuring out include files, so please help smile

My makefile's cxxflags are generated by `wx-config --cxxflags`


This is my signature. If you want to read it, first you need to agree to the EULA.

Offline

Board footer

Powered by FluxBB