Unsolved QtMultimedia & rc.local
-
Seeing some unusual behavior in my system.
Porting an i.M6 application from Qt5.5 to Qt5.11.1. Also upgrading kernel from 3.14 to 4.1.15. For the most part, the transition has gone smoothly.
I'm using sysvinit as opposed to systemd (not sure if that matters).
My application has a video.
When i deploy my application to the i.MX6 target, video plays fine. I can run the application through Qt Creator or launch it from the command line and the video plays fine.
I have an rc.local file that I use to launch our application when the system boots. The application boots fine and it has all the functionality that it's intended to hae with the exception of video!
When the application launches the video (from rc.local) I get a new screen but the system locks up completely.
Has anybody else had this issue and resoled it?
Is there anything I could share that would help to shed some light on this issue?
Any input would be greatly appreciated. -
-
@Cleiton-Bueno Thanks, yes, I've gone through and checked that my environment variables are the same.
I just discovered that the root of the issue is the environment variable.......
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate 180"When this is set to rotate, the video will lock up immediately. When this is disabled, the video plays fine.
I'm going to dig around and see if anybody else has had this issue and see how they resolved it.
Regards,
-Bob