PDA

View Full Version : QVideoWidget on macos blocks application, need help.



DavidXanatos
18th June 2013, 09:57
Hi,

I have a strange problem with a macos X build, each time I instantiate a QVideoWidget many control elements in the GUI stops working, especially tree controls.

I noticed that than the application outputs:
QBackingStore::flush() called with non-exposed window, behavior is undefined

on windows and linux this problem does not occurs.

I'm using qt 5.0.2


does anyone head a seminar issue and may be know how to fix it?

DavidXanatos
18th June 2013, 21:46
It seams to be the QTreeWidge only that is affected,

when I add

QTreeWidget* tree = new QTreeWidget();
tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test1")));
tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test2")));
tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test3")));
tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test4")));
tree->addTopLevelItem(new QTreeWidgetItem(QStringList("test5")));
hLayout->addWidget(tree);

to the Qt5.0.2/5.0.2/clang_64/examples/multimediawidgets/player; sample, the tree widget controll is inoperable.

when i remove player->setVideoOutput(videoWidget);than the controll works but ofcause the player dont.

DavidXanatos
23rd June 2013, 11:26
no one an idea?

mapcol
11th July 2016, 20:19
I have the same problem but on Windows, as you can see here:
http://stackoverflow.com/questions/37986857/qt-qvideowidget-doesnt-show-up-and-disables-all-buttons-within-application-or
The inserting of the video widget blocks all buttons and everything within my application!

Please tell me you have found a solution.

Cheers,
Marko