[Qt-creator] QtCreator and autocompletion signals and slots for QSharedPointer objects.
Orgad Shaneh
orgads at gmail.com
Mon Aug 11 09:33:39 CEST 2014
On Wed, Aug 6, 2014 at 6:18 PM, Oleg Shalnev <oleg.shalnev at gmail.com> wrote:
> Good day everybody.
>
> Inability of autocompletion for slots in QtCreator during editing
> QSharedPointer objects is disappoints.
>
> QSharedPointer<Foo> foo;
> connect(foo.data, SIGNAL(somesignal())
>
> IDE don't know how to find automatically signals and slots during edition.
> May be I am don't know something how to enable this feature.
> If not, may be authors put this feature in the todo list.
>
>
Hi,
Works for me with 3.2, you need to pass foo.data(), of course.
- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140811/594c9c2e/attachment.html>
More information about the Qt-creator
mailing list