Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Qt application on LVDS display Freescale Saberauto board
Forum Updated to NodeBB v4.3 + New Features

Qt application on LVDS display Freescale Saberauto board

Scheduled Pinned Locked Moved India
7 Posts 2 Posters 3.4k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    shivaraj349gmail.com
    wrote on last edited by
    #1

    Hi All,
    I am using IMX6 Freescale Saberauto board with LVDS (secondary display) and HDMI as(primary display). I want two different outputs on both screens. On LVDS I want QT application to run.But it is not happening, it is running on primary display. Please let me know some solution.

    Regards,
    Shivaraj

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      IMO, you need to set correct DISPLAY environment variable according to which display you want the application to be shown.

      157

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shivaraj349gmail.com
        wrote on last edited by
        #3

        Below are boot arguments
        video=mxcfb0:dev=hdmi,1024x768M@60,if=RGB24 bpp=32 video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666.
        I have set HDMI as primary and LVDS as secondary.

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          Did you try exporting the DISPLAY variable before launching the Qt Application ?
          Or may be "this":http://qt-project.org/doc/qt-4.8/qt-embedded-running.html#using-multiple-displays will help you .

          157

          1 Reply Last reply
          0
          • S Offline
            S Offline
            shivaraj349gmail.com
            wrote on last edited by
            #5

            Yes i have tried exporting display variable. I follwed what was given on the following link. [qt-project.org] .
            Currently I am trying with below command.
            It seems I am able redirect QT output to secondary display(/dev/fb2).
            ./qtapp -qws -display Linuxfb:/dev/fb2:enable=1.
            Porblem is QT output is redirected to secondary display, but what I wanted on primary display has gone I mean primary display works, but not consistently.

            1 Reply Last reply
            0
            • p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #6

              That should not happen. Is the other application Qt based too ?

              157

              1 Reply Last reply
              0
              • S Offline
                S Offline
                shivaraj349gmail.com
                wrote on last edited by
                #7

                No it is not Qt application. Its airplay where mobile screen is replicated on HDMI display(primary).

                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