[Qt-interest] compile error after class refactoring

Luca Ferrari fluca1978 at infinito.it
Thu May 14 11:59:02 CEST 2009


On Thursday 14 May 2009 11:30:29 am Srdjan Todorovic's cat walking on the 
keyboard wrote:

> Why would you need to refer to Signal::integerSignal(int) from within
> Signal? Did you move a slot/signal called integerSignal() from Signal
> to Base?
>


No, Base is only a standard C++ class with functions and members. Nothing 
related to signals/slots.

> What do you have for line 11?


The line 11 is the first emit line in the following function:

void Signal::emitSignals(){
    emit integerSignal( 10 );    // line 11
    emit voidSignal();
}


> Perhaps re-run qmake to get all the moc files regenerated.

I've tried to clean all the project but it did not work.

Luca



More information about the Qt-interest-old mailing list