Code completion
fir delplancke
fb248366 at skynet.be
Tue Jul 29 19:48:59 BST 2008
Hi,
I don't use KDevelop for my programs.
After designing the form I store it in a folder
and create the main, *.h and *.cpp files and
execute qmake -project, qmake progam.pro and make.
I created a small program as an example (>attach)
greatings,
fdp.
On Tuesday 29 July 2008 04:00:14 am Marcelo Magno T. Sales wrote:
> Hi,
>
> I can't get code completion to work for Qt4 widgets in forms created in
> Designer.
> I create the form in Designer and derive a class from it using KDevelop,
> but apparently KDevelop knows nothing about the widgets in the base
> class. Their names are not completed, nor their
> methods/slots/properties. Of course, the header of the form is included
> in the header file of the derived class and the code compiles and runs
> normally.
> Code completion works ok for members/methods/slots defined in the
> derived class. Is there a way to make it work for members of the base
> class?
> I'm using KDevelop 3.5.2 and Qt 4.4.
>
> Thanks,
>
> Marcelo
>
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 211 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MarcoPolo.cpp
Type: text/x-c++src
Size: 978 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MarcoPolo.h
Type: text/x-c++hdr
Size: 389 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MarcoPolo.ui
Type: application/x-designer
Size: 4143 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment.bin>
-------------- next part --------------
////////////////////- MarcoPolo -/////////////////////
original files:
- main.cpp
- MarcoPolo.h
- MarcoPolo.cpp
- MarcoPolo.ui (Qt 4 Designer)
commands:
~/Desktop/MarcoPolo> qmake -project
~/Desktop/MarcoPolo> qmake MarcoPolo.pro
~/Desktop/MarcoPolo> make
////////////////////////////////////////////////////////
>>> Suse 11.0, kernel 2.6.25.11, Qt4.4.0, KDE 3.5.9 <<<
////////////////////////////////////////////////////////
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moc_MarcoPolo.cpp
Type: text/x-c++src
Size: 1857 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment-0002.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ui_MarcoPolo.h
Type: text/x-c++hdr
Size: 3683 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 7148 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MarcoPolo
Type: application/x-executable
Size: 28569 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20080729/e3b19fd2/attachment-0002.bin>
More information about the KDevelop
mailing list