On Wed, 24 Oct 2012 06:11:13 +0800, "D.Y Feng"
wrote:
> I meet a problem in my code:
>
> hello.h:
>
> #include
>>
>> class Hello : public QObject{
>> Q_OBJECT
>> public:
>> Hello(QObject *parent = 0);
>> static int test(){
>> static int i=0;
>> qDebug()<> retu
Thanks for reply.But the problem it's not this point
Let's see.
hello.h:
> #include
>
class Hello : public QObject{
> Q_OBJECT
> public:
> Hello(QObject *parent = 0);
> static int test(){
> static int i=0;
> qDebug()< return 0;
> }
> };
>
hello.cpp
>
On 24.10.2012, 00:11:13 D.Y Feng wrote:
> I meet a problem in my code:
> hello.h:
> #include
> class Hello : public QObject{
> Q_OBJECT
> public:
> Hello(QObject *parent = 0);
> static int test(){
> static int i=0;
> qDebug()< return 0;
> }
> };
> hello.c