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. ARM+Ubuntu12.04 cannot display Qt program well
Forum Updated to NodeBB v4.3 + New Features

ARM+Ubuntu12.04 cannot display Qt program well

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 1.7k 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.
  • L Offline
    L Offline
    lulujianjie
    wrote on last edited by lulujianjie
    #1

    As shown link text, my ARM board runs Ubuntu12.04. I tried to test my Qt program(Qt 4.8.6) on it.("./hello -qws")
    It showed like the figure.

    I tried run my Qt program without using "-qws",but errors occured as "QWSSocket::connectToLocalFile could not connect::Connection refused"

    Could you please give me some advice to solve it? Thank you very much!

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      Sadly the image upload has some issues so we cant see your image.
      please upload to other site and paste link here.
      postimage.org is an option but any site will do :)

      -qws means Qt Window Server and as far as i know part of Qt-embedded

      So are you using Qt-embedded ?

      If you dont want to use QWS , I think you need a X server or a frame buffer. (QVFb)

      http://doc.qt.io/qt-4.8/qt-embedded-running.html
      http://doc.qt.io/qt-4.8/qt-embedded-displaymanagement.html

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

        Hi,

        Not QVFB, the virtual frame buffer was used to emulate a device screen while developing on desktop computer.

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

        1 Reply Last reply
        1
        • mrjjM mrjj

          Hi
          Sadly the image upload has some issues so we cant see your image.
          please upload to other site and paste link here.
          postimage.org is an option but any site will do :)

          -qws means Qt Window Server and as far as i know part of Qt-embedded

          So are you using Qt-embedded ?

          If you dont want to use QWS , I think you need a X server or a frame buffer. (QVFb)

          http://doc.qt.io/qt-4.8/qt-embedded-running.html
          http://doc.qt.io/qt-4.8/qt-embedded-displaymanagement.html

          L Offline
          L Offline
          lulujianjie
          wrote on last edited by
          #4

          @mrjj Hi,Thanks mrjj. May be you can find the image here: link text

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

            Looks like a classic console rewrite over the application however something's not clear from your screen shot. It looks like you are running your application over Ubuntu over your console.

            What is your exact setup ?

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

            L 1 Reply Last reply
            0
            • SGaistS SGaist

              Looks like a classic console rewrite over the application however something's not clear from your screen shot. It looks like you are running your application over Ubuntu over your console.

              What is your exact setup ?

              L Offline
              L Offline
              lulujianjie
              wrote on last edited by
              #6

              @SGaist Thanks SGaist. I run my Qt program on my ARM board,by typing "./hello -qws" in a console. Then it showed as you can see. It seems like that the Ubuntu Desktop and My Qt program are scrambling for the Display. Sometimes it showed the desktop and sometimes it showed my Qt program. I want the Display to show my Qt program.

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

                If you want to have only your application you should not have your X server running on the same frame buffer at the same time.

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

                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