FramelessWindowHint freezes form with QAxWidget
-
@mrjj i create:
void MainWindow::showEvent( QShowEvent* event ) { QAxWidget *Test = new QAxWidget(this); Test->setControl("{8856f961-340a-11d0-a96b-00c04fd705a2}"); Test->dynamicCall("Navigate(const QString&)","http://vk.com/"); Test->show(); }
Not help...
Excuse me, I find it hard to understand you, because I'm Russian ... -
@Tikitko
Hi, np. That was what i wanted to test.So if we create it before windows is fully shown we get bug?
But if you create in button_click , it works?
-
@Tikitko
very strange!
I though showEvent would been same as clicked.
Try timer so that we first create after window fully shown.// in constructor
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(nowcreate()));
timer->start(4000);
}void MainWindow::nowcreate() << add this to .h also
{
qDebug() << "nowcreate";
// create here
QAxWidget *Test = new QAxWidget(this);
..
} -
@Tikitko
very strange!
I though showEvent would been same as clicked.
Try timer so that we first create after window fully shown.// in constructor
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(nowcreate()));
timer->start(4000);
}void MainWindow::nowcreate() << add this to .h also
{
qDebug() << "nowcreate";
// create here
QAxWidget *Test = new QAxWidget(this);
..
} -
@mrjj Thank you very much for your help! So show window, and then create a widget ... So still the question, it is a bug Qt or something else? The problem can be considered solved only in the bug tracker you need to add ...
-
@Tikitko
You are most welcome.
well I think its a bug but not sure.
When bug comes, it seems to me it hangs. That seems like bug.Oh I forgot to ask.
What is {8856f961-340a-11d0-a96b-00c04fd705a2} ? -
@Tikitko
You are most welcome.
well I think its a bug but not sure.
When bug comes, it seems to me it hangs. That seems like bug.Oh I forgot to ask.
What is {8856f961-340a-11d0-a96b-00c04fd705a2} ? -
@mrjj Hello, another mament noticed everything was decided widget loading after displaying the window, but if you minimize the window and deploy the freeze button again ...
-
@Tikitko
Ehh. not sure I read that correctly.You say that if made with button, then bug dont show, but if you minimize and maxi window again, bug comes back?
-
Ok
Have you tried with Qt 5.5 ?
Maybe QAxWidget has bug in 5.6