I have bit of a complicated qt structure; some parts are made with designer, some part are made with code. Yet this is not very important.
The point is:
I have my main window, which contains different things, one of which is a widget (called centralWidget), which contains layouts and other widgets.
Everything works fine till a simply add:
QVideoWidget* videoWidget = new QVideoWidget(ui.centralWidget); // I can put nothing, or "this" inside the constructor...nothing changes
QMediaPlayer player;
TV_V_LAYOUT_MAIN_1->addWidget(videoWidget);
player.setVideoOutput(videoWidget);
This lines of code are inside a function which builds buttons inside the layout, and this function gets called inside the mainwindow constructor.
As soon as I add this videowidget with videoplayer, everything within my application gets locked (buttons, scrollbars, comboboxes... some are in other layouts).
Sometimes they are locked, sometimes they are really really slowed down. It's like those elements are either completely locking or dramatically slowing down the application.
I saw another person asked this question in this forum a few years ago, yet nobody answered.
This is very important to me, because its for my BA project for a very important company and I'm stuck with this problem since last month
You can also see my question on stackoverflow http://stackoverflow.com/questions/3...application-or
I'm using Visual Studio 2013 + Qt5 Add-In + gstreamer.
Can anybody plase give me a hint? I don't know what to do anymore...
Bookmarks