Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtMultimedia & rc.local
Forum Updated to NodeBB v4.3 + New Features

QtMultimedia & rc.local

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 709 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    b.mcwilliams
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • Cleiton BuenoC Offline
      Cleiton BuenoC Offline
      Cleiton Bueno
      wrote on last edited by
      #2

      If you run your application on a terminal in the target, does it work? Do you have some environment variable set up in QtCreator when deploy?


      Cleiton Bueno

      Blog | Linkedin | B2Open

      B 1 Reply Last reply
      1
      • Cleiton BuenoC Cleiton Bueno

        If you run your application on a terminal in the target, does it work? Do you have some environment variable set up in QtCreator when deploy?


        Cleiton Bueno

        Blog | Linkedin | B2Open

        B Offline
        B Offline
        b.mcwilliams
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved