[Qt-creator] Two questions

Igor Mironchik imironchick at gmail.com
Mon Sep 3 04:38:54 CEST 2012


Hi,

>
>     And second, why autocompletion doesn't work for "d" member in the next
>     example:
>
>     In header:
>
>     class Test {
>     public:
>          Test();
>
>          void doIt();
>
>     private:
>          Q_DISABLE_COPY( Test )
>
>          class TestPrivate;
>          QScopedPointer< TestPrivate > d;
>     };
>
>     In source:
>
>     class Test::TestPrivate {
>     public
>          QString m_string;
>     };
>
>     Test::Test()
>          :    d( new TestPrivate )
>     {
>     }
>
>     void
>     Test::doIt()
>     {
>          qDebug() << d-> // And here autocompletion doesn't work. Why?
>     }
>
>
> Works here with 2.5 and 2.6. Which version of Qt Creator do you use?

2.5.2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120903/5391838b/attachment.html>


More information about the Qt-creator mailing list