Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt gui on beaglebone lcd 4.3 cape display not connected

Qt gui on beaglebone lcd 4.3 cape display not connected

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 777 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.
  • T Offline
    T Offline
    tester21
    wrote on last edited by
    #1

    I try run QT gui software on beaglebone lcd 4.3 cape. I use image from https://www.waveshare.com/wiki/LCD_CAPE_(4.3inch) this.
    I close x server
    update-rc.d -f gdm remove
    and off
    systemctl disable gdm.service

    Next i try run my program, but get error.
    root@beaglebone:~/example# LD_LIBRARY_PATH=. ./example -qws
    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    QXcbConnection: Could not connect to display
    Aborted

    How fixed error ?

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

      Hi and welcome to devnet,

      Looks like you are trying to start a Qt 4 application but you built it with Qt 5. Is that the case ?

      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
      • T Offline
        T Offline
        tester21
        wrote on last edited by
        #3

        I build helloworld in qt5 with cross toolchain for arm angstrom beaglebone. This is not Qt4 application, i do mistake about parametr -qws not used in qt5.

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

          So the -qws parameter doesn't make any sense.

          Note that you are killing the Window manager and using the xcb backend to show your application. That's going to be problematic. Either let gdm run or use a different backend for your software.

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

          T 1 Reply Last reply
          0
          • SGaistS SGaist

            So the -qws parameter doesn't make any sense.

            Note that you are killing the Window manager and using the xcb backend to show your application. That's going to be problematic. Either let gdm run or use a different backend for your software.

            T Offline
            T Offline
            tester21
            wrote on last edited by
            #5

            @SGaist, can give me link how cross build qt5 without xcb backend. I want x-server linux close and show my qt programm form on console framebuffer.

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

              Did you check whether you don't already have several backends at your disposal ?

              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