QMediaPlayer Problem monitor Rotate
-
Hi,
This is my code
@
this->player = new QMediaPlayer;
this->player->setMedia(QUrl::fromLocalFile(this->_filePath));
this->videoWidget = new QVideoWidget();
this->player->setVideoOutput(videoWidget);
this->videoWidget->show();
this->player->play();
@this code work rightly,
but if i rotate my pc monitor because I have a monitor in vertical position,
the video don't work. I can hear the sound, but i can't show the video.HELP ME!!
Thank -
Hi,
Maybe a silly question, does it happen if you rotate it while the application is loaded ? Or also if you start it after you rotated your screen ?
Also, what OS/Qt/compiler combo are you using ?
-
When i star application the screen is already rotate.
I use windows XP with qt5.3 compiled with Qt creator. -
Ok, then you should go to the "bug report system":http://bugreports.qt-project.org to see if something known. If not, please consider opening a new report providing a minimal compilable example as well as the spec of your screen and related hardware (graphic card model and driver versions etc…)
-
Ok. I try go to bug report.
For Test, i try to run my application to another Pc, always with screen rotate. Into second pc it work.The first pc, where application don't work with screen rotate,
mount intel 945 only with supports OpenGL 1.4.Qt use OpenGL 2.0. Maybe, this is the problem?
-
Yes very likely, what Qt package did you install ?
-
I used
Qt 5.3.2 for Windows 32-bit (MinGW 4.8.2, OpenGL) -
The you might try the ANGLE build to see if it performs better.