PDA

View Full Version : Problem with QTabWidget



alizadeh91
6th August 2012, 09:51
Hi all
I have a silly problem with QTabWidget. I have a QWidget which have a embedded Qwindow into it. I can show it easily so there is nothing wrong
With this widget. But when i want to add this widget to QTabWidget i got following error: WindowCreationData::create: CreateWindowEx failed (Cannot create a top-level child window.)
What's the problem?

alizadeh91
6th August 2012, 11:53
Some Other info: I've used a QWindow in my widget so the source of error might be there but i don't know how to solve this

Qtonimo
6th August 2012, 12:10
Post your code, otherwise it is difficult to help....

alizadeh91
6th August 2012, 12:12
It is written with qt5 and can't be compiled with other versions