Daniela
14th October 2008, 12:38
:eek:
Hi!
I'm programing using Qt in Xcode, to Mac OS.
But i've a problem...
I've an Item and in this item i've created one slot that append after the timeLine that is running emmites finished() singal. In debug mode, it works very well, but not in release mode.
For exemple, i've this:
void Item::slotTest()
{
QString s = "OK!";
}
void Item::StartAnim()
{
QTimeLine * timeLine = new QTimeLine();
timeLine.>setDuration(1000);
connect( timeLine, SIGNAL( finished() ), this, SLOT( slotTest() ) );
timeLine->start();
}
Can you help me?
Why the signal finished() is not sended by timeLine when it Stops?
It happens only in release mode and only in Mac OS.
And also using startTimer( xxx ); -> item's timer
:confused:
Hi!
I'm programing using Qt in Xcode, to Mac OS.
But i've a problem...
I've an Item and in this item i've created one slot that append after the timeLine that is running emmites finished() singal. In debug mode, it works very well, but not in release mode.
For exemple, i've this:
void Item::slotTest()
{
QString s = "OK!";
}
void Item::StartAnim()
{
QTimeLine * timeLine = new QTimeLine();
timeLine.>setDuration(1000);
connect( timeLine, SIGNAL( finished() ), this, SLOT( slotTest() ) );
timeLine->start();
}
Can you help me?
Why the signal finished() is not sended by timeLine when it Stops?
It happens only in release mode and only in Mac OS.
And also using startTimer( xxx ); -> item's timer
:confused: