Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cross compiled qt for BBB
Forum Updated to NodeBB v4.3 + New Features

cross compiled qt for BBB

Scheduled Pinned Locked Moved Unsolved General and Desktop
47 Posts 4 Posters 9.8k Views 2 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.
  • A Offline
    A Offline
    Asha
    wrote on last edited by
    #1

    Hi,

    I downloaded the qt source code and cross compiled the qt for my beaglebone board with VNC viewer software.

    I want to connect touch screen to my beaglebone board,and want to see the applications output on touch screen display..

    but i got ,if i need to display the output on touch screen display then i need to cross compile qt with eglfs,really i need to configure with eglfs? or with this VNC viewer only i will get the output on touch screen display..

    if yes(cross compilation qt with eglfs),then please send me any link which cross compiled with eglfs for beaglebone board,because i tried many things but i am not got success with eglfs...

    Thankyou....

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asha
      wrote on last edited by
      #2

      Hi,

      I connected my beagleboneboard to display,

      And trying to execute the qt application,when executed

      I am getting the erro like

      Qxcb connection:could not connect to the display
      aborted..

      how do i execute and display the output on my board display..

      what is the mistake, how to solve that error please guide me....

      jsulmJ 1 Reply Last reply
      0
      • A Asha

        Hi,

        I connected my beagleboneboard to display,

        And trying to execute the qt application,when executed

        I am getting the erro like

        Qxcb connection:could not connect to the display
        aborted..

        how do i execute and display the output on my board display..

        what is the mistake, how to solve that error please guide me....

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Asha said in cross compiled qt for BBB:

        Qxcb connection:could not connect to the display

        Do you have X11 running on your device?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Asha said in cross compiled qt for BBB:

          Qxcb connection:could not connect to the display

          Do you have X11 running on your device?

          A Offline
          A Offline
          Asha
          wrote on last edited by
          #4

          @jsulm
          how do I check which one is running in my device?

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            @jsulm
            how do I check which one is running in my device?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Asha You should know what is running on your device. What os and window manager is running on it? Do you use X11, framebuffer or something else?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            1
            • jsulmJ jsulm

              @Asha You should know what is running on your device. What os and window manager is running on it? Do you use X11, framebuffer or something else?

              A Offline
              A Offline
              Asha
              wrote on last edited by
              #6

              @jsulm

              while connecting the board to display,iam getting the

              Qxcb connection :could not connect to the display..

              what it means?

              jsulmJ 1 Reply Last reply
              0
              • A Asha

                @jsulm

                while connecting the board to display,iam getting the

                Qxcb connection :could not connect to the display..

                what it means?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Asha said in cross compiled qt for BBB:

                what it means?

                That X11 server is not running on your device I guess.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                A 1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  As we already told you several time: you don't have an X server running.

                  Please answer @jsulm questions about what graphical stack you are running on your board.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    As we already told you several time: you don't have an X server running.

                    Please answer @jsulm questions about what graphical stack you are running on your board.

                    A Offline
                    A Offline
                    Asha
                    wrote on last edited by
                    #9

                    @SGaist

                    the running OS is debian.

                    i cross compiled qt ,i am running the executable in my laptop through board,i installed vnc software in my laptop ,in this vnc server i am able to see the output..but while connecting the display i am getting that error..

                    can i install vnc software in my beaglebone board,and after that executing that exe file ,can i get the output in display?

                    jsulmJ 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Asha said in cross compiled qt for BBB:

                      what it means?

                      That X11 server is not running on your device I guess.

                      A Offline
                      A Offline
                      Asha
                      wrote on last edited by
                      #10

                      @jsulm how to run that or how to enable that server on my board?

                      1 Reply Last reply
                      0
                      • A Asha

                        @SGaist

                        the running OS is debian.

                        i cross compiled qt ,i am running the executable in my laptop through board,i installed vnc software in my laptop ,in this vnc server i am able to see the output..but while connecting the display i am getting that error..

                        can i install vnc software in my beaglebone board,and after that executing that exe file ,can i get the output in display?

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @Asha said in cross compiled qt for BBB:

                        can i install vnc software in my beaglebone board

                        There is no need to do this if you want your app running on directly connected display! VNC is for REMOTE access.

                        "how to run that or how to enable that server on my board?" - simply install a desktop environment like XFCE/Gnome/... or at least a window manager, it will install X11 as well. But I'm wondering how you plan to use your device if you do not even know what is actually running there and what you actually want to use on the device?

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        A 1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          @Asha said in cross compiled qt for BBB:

                          can i install vnc software in my beaglebone board

                          There is no need to do this if you want your app running on directly connected display! VNC is for REMOTE access.

                          "how to run that or how to enable that server on my board?" - simply install a desktop environment like XFCE/Gnome/... or at least a window manager, it will install X11 as well. But I'm wondering how you plan to use your device if you do not even know what is actually running there and what you actually want to use on the device?

                          A Offline
                          A Offline
                          Asha
                          wrote on last edited by
                          #12

                          @jsulm said in cross compiled qt for BBB:

                          desktop environment like XFCE/Gnome/

                          I have debian desktop on my display(beagleboneboard),

                          when I boot the sdcard,i am able to see debian os on my display screen(even two to three folders also i am able to see)but while executing this qt exe file only i am getting that error..

                          Pablo J. RoginaP jsulmJ 2 Replies Last reply
                          0
                          • A Asha

                            @jsulm said in cross compiled qt for BBB:

                            desktop environment like XFCE/Gnome/

                            I have debian desktop on my display(beagleboneboard),

                            when I boot the sdcard,i am able to see debian os on my display screen(even two to three folders also i am able to see)but while executing this qt exe file only i am getting that error..

                            Pablo J. RoginaP Offline
                            Pablo J. RoginaP Offline
                            Pablo J. Rogina
                            wrote on last edited by
                            #13

                            @Asha said in cross compiled qt for BBB:

                            i am able to see debian os on my display screen(even two to three folders also i am able to see)

                            Please post an screenshot or picture of that display, and state if such display is attached to the board OR if the display of your laptop you connect to your device.

                            Upvote the answer(s) that helped you solve the issue
                            Use "Topic Tools" button to mark your post as Solved
                            Add screenshots via postimage.org
                            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                            1 Reply Last reply
                            0
                            • A Asha

                              @jsulm said in cross compiled qt for BBB:

                              desktop environment like XFCE/Gnome/

                              I have debian desktop on my display(beagleboneboard),

                              when I boot the sdcard,i am able to see debian os on my display screen(even two to three folders also i am able to see)but while executing this qt exe file only i am getting that error..

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              @Asha said in cross compiled qt for BBB:

                              debian desktop

                              There is no such thing. Debian is a Linux distribution and can be used with many different desktops and window manager.
                              What does

                              ps -e | grep X 
                              
                              

                              output?

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

                              A 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @Asha said in cross compiled qt for BBB:

                                debian desktop

                                There is no such thing. Debian is a Linux distribution and can be used with many different desktops and window manager.
                                What does

                                ps -e | grep X 
                                
                                

                                output?

                                A Offline
                                A Offline
                                Asha
                                wrote on last edited by
                                #15

                                @jsulm

                                I need to run this on my host machine right...
                                I am running this command in my beagle user..
                                I got the output

                                945 tty1 00:00:00 Xwayland
                                1064 tty2 00:00:08 Xorg

                                while running that command in beagleboneboard(via ssh) not getting anything..

                                jsulmJ 1 Reply Last reply
                                0
                                • A Asha

                                  @jsulm

                                  I need to run this on my host machine right...
                                  I am running this command in my beagle user..
                                  I got the output

                                  945 tty1 00:00:00 Xwayland
                                  1064 tty2 00:00:08 Xorg

                                  while running that command in beagleboneboard(via ssh) not getting anything..

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  @Asha said in cross compiled qt for BBB:

                                  while running that command in beagleboneboard(via ssh) not getting anything..

                                  when there is no XServer running. Just to be sure: you're running this command when the graphical desktop is shown?
                                  You need to find out what is used on your device. Could be directfb for example.

                                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  A 1 Reply Last reply
                                  0
                                  • jsulmJ jsulm

                                    @Asha said in cross compiled qt for BBB:

                                    while running that command in beagleboneboard(via ssh) not getting anything..

                                    when there is no XServer running. Just to be sure: you're running this command when the graphical desktop is shown?
                                    You need to find out what is used on your device. Could be directfb for example.

                                    A Offline
                                    A Offline
                                    Asha
                                    wrote on last edited by
                                    #17

                                    @jsulm said in cross compiled qt for BBB:

                                    you're running this command when the graphical desktop is shown?

                                    no,
                                    I run that command without the connecting display..
                                    ps -e | grep X

                                    this command displays all process status which are running right..

                                    one more thing I want to clear,

                                    "I put sdcard in my board,and executing the qt application without connecting the display, then getting the same error Qxcb"

                                    but

                                    "without sdcard, I am executing the qt application ,then its asking

                                    Qvnc server created on port 5900"

                                    when I execute the VNC software in my host machine, I am able to see the output..

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • A Asha

                                      @jsulm said in cross compiled qt for BBB:

                                      you're running this command when the graphical desktop is shown?

                                      no,
                                      I run that command without the connecting display..
                                      ps -e | grep X

                                      this command displays all process status which are running right..

                                      one more thing I want to clear,

                                      "I put sdcard in my board,and executing the qt application without connecting the display, then getting the same error Qxcb"

                                      but

                                      "without sdcard, I am executing the qt application ,then its asking

                                      Qvnc server created on port 5900"

                                      when I execute the VNC software in my host machine, I am able to see the output..

                                      jsulmJ Offline
                                      jsulmJ Offline
                                      jsulm
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #18

                                      @Asha said in cross compiled qt for BBB:

                                      no,

                                      Then make sure your display is connected and you can see graphical desktop and then run the command...

                                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      A 1 Reply Last reply
                                      0
                                      • jsulmJ jsulm

                                        @Asha said in cross compiled qt for BBB:

                                        no,

                                        Then make sure your display is connected and you can see graphical desktop and then run the command...

                                        A Offline
                                        A Offline
                                        Asha
                                        wrote on last edited by
                                        #19

                                        @jsulm

                                        I connected my board with display,

                                        And,I am able to see the graphical desktop on my display,

                                        while giving this command

                                        ps -e | grep X

                                        I got the result:

                                        1199 tty7 00:00:02 Xorg

                                        so what it means?

                                        jsulmJ 1 Reply Last reply
                                        0
                                        • A Asha

                                          @jsulm

                                          I connected my board with display,

                                          And,I am able to see the graphical desktop on my display,

                                          while giving this command

                                          ps -e | grep X

                                          I got the result:

                                          1199 tty7 00:00:02 Xorg

                                          so what it means?

                                          jsulmJ Offline
                                          jsulmJ Offline
                                          jsulm
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #20

                                          @Asha said in cross compiled qt for BBB:

                                          so what it means?

                                          So, now X server is running. But your app doesn't start, right?
                                          You get "Qxcb connection:could not connect to the display"?
                                          Do you start your app as root or normal user?

                                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          Pablo J. RoginaP A 2 Replies 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