[Qt-creator] QtCreator and autocompletion signals and slots for QSharedPointer objects.

Orgad Shaneh orgads at gmail.com
Tue Aug 12 07:46:47 CEST 2014


On Tue, Aug 12, 2014 at 12:36 AM, Oleg Shalnev <oleg.shalnev at gmail.com>
wrote:

> Hi,
> Strange. I am afrain not. I built QtCreator this night.
>
>
>
> 2014-08-11 11:33 GMT+04:00 Orgad Shaneh <orgads at gmail.com>:
>
> 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
>>
>
Here is a screenshot:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140812/048c430e/attachment.html>


More information about the Qt-creator mailing list