sprnshld
23rd July 2008, 06:31
I wrote this code : Playing Flash and displaying text on it.
It worked well in 4.3 but, I can't see the text in 4.4
It's like that QAxWidget make other widgets in it's area hide.
help me to display flash and text in same area.
QAxWidget *back = new QAxWidget(this);
back->setControl("{D27CDB6E-AE6D-11cf-96B8-444553540000}"); // Flash Player
back->setProperty("Movie", QDir("test.swf").absolutePath());
QLabel *textLabel = new QLabel(text, this);
textLabel->setAlignment(Qt::AlignCenter);
back->setGeometry(0, 0, 112, 57);
textLabel->setGeometry(0, 0, 112, 57);
It worked well in 4.3 but, I can't see the text in 4.4
It's like that QAxWidget make other widgets in it's area hide.
help me to display flash and text in same area.
QAxWidget *back = new QAxWidget(this);
back->setControl("{D27CDB6E-AE6D-11cf-96B8-444553540000}"); // Flash Player
back->setProperty("Movie", QDir("test.swf").absolutePath());
QLabel *textLabel = new QLabel(text, this);
textLabel->setAlignment(Qt::AlignCenter);
back->setGeometry(0, 0, 112, 57);
textLabel->setGeometry(0, 0, 112, 57);