[Qt-interest] How I can read the source code of qt ?
Qzi
hotseason007 at gmail.com
Wed Aug 18 07:33:13 CEST 2010
I ' m qt creator 2.0 , I had tried more , it work fine for
Q_DECLARE_PRIVATE(QObject)
but it does not OK for
Q_OBJECT
Q_PROPERTY(QString objectName READ objectName WRITE setObjectName)
They are all macro , I don't know why ?
On Wed, Aug 18, 2010 at 1:24 PM, Mandeep Sandhu <mandeepsandhu.chd at gmail.com
> wrote:
> On Wed, Aug 18, 2010 at 10:45 AM, Qzi <hotseason007 at gmail.com> wrote:
> > Thank you , sandhu , it is usefully for class , not for macro by
>
> It works for macro too.
>
> I'm using Qt Creator 1.3.1 and clicking on Q_OBJECT macro (with the
> Ctrl key depressed) takes me to qobjectdefs.h where it's defined.
>
> What is happening in your case? Does it become highlighted like a link
> when you move your mouse over it while the Ctrl key is depressed?
>
> -mandeep
>
--
作智慧的减法 ...
体会生活的微妙的富足 ...
嗯 ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100818/1ed26cc0/attachment.html
More information about the Qt-interest-old
mailing list